Use the following functions to create curves based on random values.
Returns a random value between -1 and 1, based on the value used as an argument, called the seed. Using the same seed in the rand function for multiple channels produces the exact same results. To create completely random results, use the true rand function.
Syntax: | rand(Seed) |
Arguments: |
|
Examples: |
|
Returns a truly random value between two given numbers. The sequence of returned values will constantly change, never reproducing past results.
Syntax: | truerand(Low, High) |
Arguments: |
|
Example: |
|
Returns a random value between -1 and 1, based on a given vector. If the parameter varies smoothly, this function will return a continuously changing value that also varies smoothly.
Syntax: | noise(Position) |
Arguments: |
|
Examples: |
|
Returns a random vector for all elements in a vector between -1 and 1. If the parameter varies smoothly, this function will return a vector of continuously changing values that also vary smoothly.
Syntax: | noise3(Position) |
Arguments: |
|
Examples: |
|
Returns a random value between -1 and 1, based on a given vector. If the parameter varies smoothly, this function will return a continuously changing value that also varies smoothly to a fractal pattern. This function is similar to the noise function, but it applies a fractal pattern to the result.
Syntax: | fnoise(Position) |
Arguments: |
|
Examples: |
|
Returns a random value between -1 and 1, based on a given vector and with the ability to control the level of smoothness for the resulting curve.
Syntax: | turbulence(Position, Level) |
Arguments: |
|
Examples: |
|
Returns a random vector for all elements in a vector between -1 and 1, along with the ability to control the smoothness of the resulting curve. If the position parameter varies smoothly, this function will return a vector of continuously changing values that also vary smoothly.
Syntax: | turbulence3(Position, Level) |
Arguments: |
|
Examples: |
|