User Manual

Table Of Contents
min(x, y) The minimum (lowest) of x and y.
max(x, y) The maximum (highest) of x and y.
dist(x1, y1, x2, y2) The distance between point x1,y2 and x2,y2.
dist3d(x1,y1,z1,x2,y2,z2) The distance between 3D points x1,y2,z1 and x2,y2,z2
noise(x) A smoothly varying Perlin noise value based on x
noise2(x, y) A smoothly varying Perlin noise value based on x and y
noise3(x, y, z) A smoothly varying Perlin noise value based on x, y and z
if(c, x, y) Returns x if c not 0, otherwise y.
Expression Syntax Operators
Operators are used to evaluate statements. They are combined with functions to perform
logical and mathematical calculations in the Number Out and Point Out tabs.
x + y x plus y.
x - y x minus y.
x > = y 1.0 if x is less than y, otherwise 0.0.
x > y 1.0 if x is greater than y, otherwise 0.0.
!x 1.0 if x = 0, otherwise 0.0.
-x (0.0 - x).
+x (0.0 + x) (effectively does nothing).
x ^ y x raised to the power of y.
x y x multiplied by y.
x y x divided by y.
x % y x modulo y, (remainder of (x divided by y)).
x > = y 1.0 if x is less than or equal to y, otherwise 0.0.
x > = y 1.0 if x is greater than or equal to y, otherwise 0.0.
x = y 1.0 if x is exactly equal to y, otherwise 0.0.
x == y 1.0 if x is exactly equal to y, otherwise 0.0 (identical to above).
x < > y 1.0 if x is not equal to y, otherwise 0.0.
x != y 1.0 if x is not equal to y, otherwise 0.0 (identical to above).
x & y 1.0 if both x and y are not 0.0, otherwise 0.0.
x && y 1.0 if both x and y are not 0.0, otherwise 0.0 (identical to above).
x | y 1.0 if either x or y (or both) are not 0.0, otherwise 0.0.
x || y 1.0 if either x or y (or both) are not 0.0, otherwise 0.0 (identical to above).
Chapter – 111 Modifiers 2518