Variable/Constant
|
Description
|
Math
|
float PI
|
Represents the number PI with a value of 3.141592.
|
S2L - Sound2Light
|
float SOUND_DATA_LEFT[]
|
Contains the sound values of the left audio channel. 511 bands/values in a range from 0.0 to 1.0.
|
float SOUND_DATA_RIGHT[]
|
Contains the sound values of the right audio channel. 511 bands/values in a range from 0.0 to 1.0.
|
Drawing
|
color WHITE
|
|
White color without alpha. {255,255,255,0,0}
|
|
color BLACK
|
|
Black color without alpha. {0,0,0,0,0}
|
|
color RED
|
|
Red color without alpha. {255,0,0,0,0}
|
|
color MAROON
|
|
Maroon color without alpha. {128,0,0,0,0}
|
|
color GREEN
|
|
Green color without alpha. {0,255,0,0,0}
|
|
color MADRIX_GREEN
|
|
MADRIX green without alpha. {177,219,24,0,0}
|
|
color BLUE
|
|
Blue color without alpha. {0,0,255,0,0}
|
|
color NAVY
|
|
Navy color without alpha. {0,0,128,0,0}
|
|
color AQUA
|
|
Aqua color without alpha. {0,255,255,0,0}
|
|
color CYAN
|
|
Cyan color without alpha. {0,255,255,0,0}
|
|
color TURQUOISE
|
|
Turquoise color without alpha. {0,255,255,0,0}
|
|
color TEAL
|
|
Teal color without alpha. {0,128,128,0,0}
|
|
color FUCHSIA
|
|
Fuchsia color without alpha. {255,0,255,0,0}
|
|
color PINK
|
|
Pink color without alpha. {255,0,255,0,0}
|
|
color MAGENTA
|
|
Magenta color without alpha. {255,0,255,0,0}
|
|
color PURPLE
|
|
Purple color without alpha. {128,0,128,0,0}
|
|
color YELLOW
|
|
Yellow color without alpha. {255,255,0,0,0}
|
|
color OLIVE
|
|
Olive color without alpha. {128,128,0,0,0}
|
|
color LIGHT_GRAY
|
|
Light gray color without alpha. {192,192,192,0,0}
|
|
color SILVER
|
|
Silver color without alpha. {192,192,192,0,0}
|
|
color GRAY
|
|
Gray color without alpha. {128,128,128,0,0}
|
|
color DARK_GRAY
|
|
Dark gray color without alpha. {64,64,64,0,0}
|
|
color ORANGE
|
|
Orange color without alpha. {255,128,0,0,0}
|
|
color BROWN
|
|
Brown color without alpha. {139,69,19,0,0}
|
|
color SKY
|
|
Sky color without alpha. {0,191,255,0,0}
|
|
color GOLD
|
|
Gold color without alpha. {238,201,0,0,0}
|
|
color WHITE_ALPHA
|
|
White color with alpha. {255,255,255,255,255}
|
|
color BLACK_ALPHA
|
|
Black color with alpha. {0,0,0,0,255}
|
|
color COLOR
|
COLOR may be used as last parameter for drawing functions. The functions then draws the color channels red, green, blue, and white.
|
color ALPHA
|
ALPHA may be used as last parameter for drawing functions. The functions then draws only the alpha channel.
|
color COLOR_AND_ALPHA
|
COLOR_AND_ALPHA may be used as last parameter for drawing functions. The function then draws both the color and the alpha channel.
|
Mix Modes
|
int MIXMODE_NORMAL
|
The Normal mix mode.
|
int MIXMODE_DARKEN
|
The Darken mix mode.
|
int MIXMODE_MULTIPLY
|
The Multiply mix mode.
|
int MIXMODE_COLORBURN
|
The Color Burn mix mode.
|
int MIXMODE_LINEARBURN
|
The Linear Burn mix mode.
|
int MIXMODE_LIGHTEN
|
The Lighten (HTP) mix mode.
|
int MIXMODE_SCREEN
|
The Screen mix mode.
|
int MIXMODE_COLORDODGE
|
The Color Dodge mix mode.
|
int MIXMODE_LINEARDODGE
|
The Linear Dodge mix mode.
|
int MIXMODE_OVERLAY
|
The Overlay mix mode.
|
int MIXMODE_SOFTLIGHT
|
The Soft Light mix mode.
|
int MIXMODE_HARDLIGHT
|
The Hard Light mix mode.
|
int MIXMODE_VIVIDLIGHT
|
The Vivid Light mix mode.
|
int MIXMODE_LINEARLIGHT
|
The Linear Light mix mode.
|
int MIXMODE_PINLIGHT
|
The Pin Light mix mode.
|
int MIXMODE_HARDMIX
|
The Hard Mix mix mode.
|
int MIXMODE_DIFFERENCE
|
The Difference mix mode.
|
int MIXMODE_EXCLUSION
|
The Exclusion mix mode.
|
int MIXMODE_AND
|
The AND mix mode.
|
int MIXMODE_OR
|
The OR mix mode.
|
int MIXMODE_XOR
|
The XOR mix mode.
|
int MIXMODE_NAND
|
The NAND mix mode.
|
int MIXMODE_NOR
|
The NOR mix mode.
|
int MIXMODE_MASK
|
The Mask mix mode.
|
Filters / Storage Place and Layer Effects (FX)
|
General Filters
|
int FILTER_NONE
|
Deactivates the filter.
|
Blur / Sharpen Filters
|
int FILTER_BLUR
|
This filter blurs the output.
|
int FILTER_BLUR_BSPLINE
|
This filter blurs the output applying a B-spline.
|
int FILTER_BLUR_CATMULL_ROM
|
This filter blurs the output applying a Catmull-Rom spline.
|
int FILTER_BLUR_GAUSS
|
This filter blurs the output applying the Gaussian function.
|
int FILTER_BLUR_MITCHELL
|
This filter blurs the output applying the Mitchell-Netravali function.
|
int FILTER_SHARPEN
|
This filter sharpens the output.
|
Color Correction Filters
|
int FILTER_BRIGHTEN
|
The brighten filter to light up the whole matrix.
|
int FILTER_DARKEN
|
The darken filter to darken the whole matrix.
|
int FILTER_GRAYSCALE
|
The grayscale filter to render the matrix grayscale, i.e. in gray colors.
|
int FILTER_INVERT_COLOR
|
The invert color filter to invert every color channel.
|
Color Mask Filters
|
int FILTER_RED
|
The red filter to filter out every color except the red color channel.
|
int FILTER_GREEN
|
The green filter to filter out every color except the green color channel.
|
int FILTER_BLUE
|
The blue filter to filter out every color except the blue color channel.
|
int FILTER_WHITE
|
The white filter to filter out every color except the white color channel.
|
int FILTER_RED_GREEN
|
The red/green filter to filter out every color except the red and the green color channel.
|
int FILTER_RED_BLUE
|
The red/blue filter to filter out every color except the red and the blue color channel.
|
int FILTER_GREEN_BLUE
|
The green/blue filter to filter out every color except the green and the blue color channel.
|
int FILTER_RED_WHITE
|
The red/white filter to filter out every color except the red and the white color channel.
|
int FILTER_GREEN_WHITE
|
The green/white filter to filter out every color except the green and the white color channel.
|
int FILTER_BLUE_WHITE
|
The blue/white filter to filter out every color except the blue and the white color channel.
|
int FILTER_RED_GREEN_BLUE
|
The red/green/blue filter to filter out every color except the red, the green, and the blue color channel.
|
int FILTER_RED_GREEN_WHITE
|
The red/green/white filter to filter out every color except the red, the green, and the white color channel.
|
int FILTER_RED_BLUE_WHITE
|
The red/blue/white filter to filter out every color except the red, the blue, and the white color channel.
|
int FILTER_GREEN_BLUE_WHITE
|
The green/blue/white filter to filter out every color except the green, the blue, and the white color channel.
|
Kaleidoscope Filters
|
int FILTER_KALEIDOSCOPE_6X
|
The 6x mix mode.
|
int FILTER_KALEIDOSCOPE_8X
|
The 8x mix mode.
|
int FILTER_KALEIDOSCOPE_12X
|
The 12x mix mode.
|
Style Filters
|
int FILTER_EDGES
|
The edges filter to make the edges of objects/motifs stand out.
|
int FILTER_EDGES_POPUP
|
The edges popup filter to make the edges of objects/motifs stand out.
|
int FILTER_EMBOSS
|
The emboss filter to create an image with just highlights and shadows.
|
int FILTER_EMBOSS_POPUP
|
The emboss popup filter to create an image with just highlights and shadows depending on the motif.
|
Transformation Filters
|
int FILTER_INVERT_H_MATRIX
|
The filter flips the matrix horizontally.
|
int FILTER_INVERT_V_MATRIX
|
The filter flips the matrix vertically.
|
int FILTER_INVERT_HV_MATRIX
|
The filter flips the matrix horizontally and vertically. Therefore it instantly rotates the matrix by 180°.
|
int FILTER_INVERT_D_MATRIX
|
The filter flips the matrix regarding the depth.
|
int FILTER_INVERT_HD_MATRIX
|
The filter flips the matrix horizontally and regarding the depth.
|
int FILTER_INVERT_VD_MATRIX
|
The filter flips the matrix vertically and regarding the depth.
|
int FILTER_INVERT_HVD_MATRIX
|
The filter flips the matrix horizontally, vertically, and regarding the depth.
|
Shifting the Matrix
|
int SHIFT_UP
|
Shifts the content of the defined area upwards.
|
int SHIFT_DOWN
|
Shifts the content of the defined area downwards.
|
int SHIFT_LEFT
|
Shifts the content of the defined area to the left.
|
int SHIFT_RIGHT
|
Shifts the content of the defined area to the right.
|
int SHIFT_UL
|
Shifts the content of the defined area to the upper left.
|
int SHIFT_UR
|
Shifts the content of the defined area to the upper right.
|
int SHIFT_DL
|
Shifts the content of the defined area to the bottom left.
|
int SHIFT_DR
|
Shifts the content of the defined area to the bottom right.
|
int SHIFT_H_IN_OUT
|
Shifts the content of the defined area from the middle of the the area outwards in a horizontal direction.
|
int SHIFT_H_OUT_IN
|
Shifts the content of the defined area from the outside of the the area to the middle in a horizontal direction.
|
int SHIFT_V_IN_OUT
|
Shifts the content of the defined area from the middle of the the area outwards in a vertical direction.
|
int SHIFT_V_OUT_IN
|
Shifts the content of the defined area from the outside of the the area to the middle in a vertical direction.
|
int SHIFT_C_IN_OUT
|
Shifts the content of the defined area from the middle of the the area outwards in a vertical and a horizontal direction.
|
int SHIFT_C_OUT_IN
|
Shifts the content of the defined area from the outside of the the area to the middle in vertical and horizontal direction.
|
Map Modes
|
int MAP_MIRROR_NONE
|
Disables the mirror map mode.
|
int MAP_MIRROR_H
|
Mirrors the content of the matrix horizontally.
|
int MAP_MIRROR_V
|
Mirrors the content of the matrix vertically.
|
int MAP_MIRROR_HV
|
Mirrors the content of the matrix both vertically and horizontally.
|
int MAP_MIRROR_D
|
Mirrors the content regarding the depth.
|
int MAP_MIRROR_HD
|
Mirrors the content of the matrix horizontally and regarding the depth.
|
int MAP_MIRROR_VD
|
Mirrors the content of the matrix vertically and regarding the depth.
|
int MAP_MIRROR_HVD
|
Mirrors the content of the matrix horizontally, vertically, and regarding the depth.
|
int MAP_TILE_NONE
|
Disables mapping tile modes.
|
int MAP_TILE_REPEAT
|
Repeats tiles on the mapped matrix.
|
int MAP_TILE_MIRROR_H
|
Mirrors tiles horizontally.
|
int MAP_TILE_MIRROR_V
|
Mirrors tiles vertically.
|
int MAP_TILE_MIRROR_HV
|
Mirrors tiles both vertically and horizontally.
|
int MAP_TILE_MIRROR_D
|
Mirrors tiles regarding the depth.
|
int MAP_TILE_MIRROR_HD
|
Mirrors tiles horizontally and regarding the depth.
|
int MAP_TILE_MIRROR_VD
|
Mirrors tiles vertically and regarding the depth.
|
int MAP_TILE_MIRROR_HVD
|
Mirrors tiles horizontally, vertically, and regarding the depth.
|
int MAP_ROTATION_FIXED
|
Sets a fixed rotation.
|
int MAP_ROTATION_LOOP
|
Sets a lopped rotation animation.
|
int MAP_AA_NONE
|
Sets no anti-aliasing mode.
|
int MAP_AA_2X
|
Sets simple anti-aliasing (requires some performance).
|
int MAP_AA_4X
|
Sets complex anti-aliasing (requires a lot performance).
|
Directions
|
For a complete list of direction constants, see »Using Directions
|
Distributions
|
int DIST_UNIFORM
|
Sets the distribution to Uniform.
|
int DIST_LINEAR
|
Sets the distribution to Linear.
|
int DIST_LINEAR_DECREASING
|
Sets the distribution to Linear Decreasing.
|
int DIST_TRIANGLE
|
Sets the distribution to Triangle.
|
int DIST_QUADRATIC
|
Sets the distribution to Quadratic.
|
int DIST_SQRT
|
Sets the distribution to Square root.
|
int DIST_CUBIC
|
Sets the distribution to Cubic.
|
int DIST_RND
|
Sets the distribution to Random.
|
Wave Types / Function Types
|
int WAVE_TYPE_SINE
|
Sets the wave type to Sine.
|
int WAVE_TYPE_SINE_ABSOLUTE
|
Sets the wave type to Absolute Sine.
|
int WAVE_TYPE_SAWTOOTH_DOWNWARDS
|
Sets the wave type to Sawtooth Downwards.
|
int WAVE_TYPE_SAWTOOTH_UPWARDS
|
Sets the wave type to Sawtooth Upwards.
|
int WAVE_TYPE_TRIANGLE
|
Sets the wave type to Triangle.
|
int WAVE_TYPE_COSINE
|
Sets the wave type to Cosine.
|
int WAVE_TYPE_SQUARE
|
Sets the wave type to Square.
|
Others
|
string WHITE_SPACES
|
A string which contains white spaces, like tab, new line, or space. This can be used as delimiter string for »Tokenizing
|
int TRUE
|
Represents value 1.
|
int FALSE
|
Represents value 0.
|