Members
(constant) app
Begin building the @type {App}.
(constant) BlendMode
Blend modes.
- Source:
(constant) BlendMode
Blend modes.
- Source:
(constant) clamp
Clamps the given number between the given
minimum and maximum values.
(constant) constrain
Contrains the given number between the given
minimum and maximum values.
Same as clamp
(constant) deg2rad
convert degrees to radians
(constant) dist
Calculates the distance between two points in
two dimensions.
(constant) map
Maps a number from one range to another.
(constant) pingpong
Returns a value that will increment and decrement
between the range of 0 and the length.
This requires the value t to be a
self-incrementing value (for examples the
app iterations)
(constant) rad2deg
convert radians to degrees
(constant) randomRange
Generate a random number between the minimum and maximum
(constant) randomRangeInt
Generate random number between the minimum and maximum
and round it to an integer value.
[min, max[