processing-utils

Utility Library for Processing

License

License

Categories

Categories

Ant Build Tools
GroupId

GroupId

com.github.gianttreelp
ArtifactId

ArtifactId

gtlp-processing-utils
Last Version

Last Version

1.0.4.1
Release Date

Release Date

Type

Type

jar
Description

Description

processing-utils
Utility Library for Processing
Project URL

Project URL

https://github.com/GiantTreeLP/processing-utils
Source Code Management

Source Code Management

https://github.com/GiantTreeLP/processing-utils/tree/master

Download gtlp-processing-utils

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.gianttreelp/gtlp-processing-utils/ -->
<dependency>
    <groupId>com.github.gianttreelp</groupId>
    <artifactId>gtlp-processing-utils</artifactId>
    <version>1.0.4.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.gianttreelp/gtlp-processing-utils/
implementation 'com.github.gianttreelp:gtlp-processing-utils:1.0.4.1'
// https://jarcasting.com/artifacts/com.github.gianttreelp/gtlp-processing-utils/
implementation ("com.github.gianttreelp:gtlp-processing-utils:1.0.4.1")
'com.github.gianttreelp:gtlp-processing-utils:jar:1.0.4.1'
<dependency org="com.github.gianttreelp" name="gtlp-processing-utils" rev="1.0.4.1">
  <artifact name="gtlp-processing-utils" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.gianttreelp', module='gtlp-processing-utils', version='1.0.4.1')
)
libraryDependencies += "com.github.gianttreelp" % "gtlp-processing-utils" % "1.0.4.1"
[com.github.gianttreelp/gtlp-processing-utils "1.0.4.1"]

Dependencies

compile (2)

Group / Artifact Type Version
org.processing : core jar 3.2.3
org.jetbrains.kotlin : kotlin-stdlib-jre8 jar 1.1.2-3

test (3)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-test-junit jar 1.1.2-3
org.junit.jupiter : junit-jupiter-api jar 5.0.0-M4
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

processing-utils

A collection of utilities to aid developers using Processing. Built on Kotlin for even more usefulness.

Build Status Maven Central Dependencies Dependency Status GitHub release

Example:

Vector - A nice vector that allows the use of infix operators to behave naturally and less like Java's BigDecimal.

// Naturally add Vectors together
Vector(1, 2) + Vector(3, 4) = Vector(4, 6)

// Multiply by a scalar
Vector(1, 1, 1) * 10 = Vector(10, 10, 10)

Extensions.kt - Extensions for various Processing methods

// Map a number from a range to another range without casting to Float
var ten = map(0.1, 0, 1, 0, 100)
ten = 10f // 10 as a Float

FloatRange - A range from some decimal number to another

// Go from 0 to 10 with a step of 0.25 and print the number in the process
(0f..10f step 0.25f).forEach {
    println(it)
}

Versions

Version
1.0.4.1
1.0.4
1.0.3
1.0.2
1.0.1
1.0