2017

Table Of Contents
turbulence3
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.
turbulence3(Position, Level)Syntax:
Arguments:
Position is a vector used as a seed for the returned random vector.
Level is a positive integer used to control the level of jitter of the resulting curve. If this
argument is set to a value less than 1, the level will be treated as if 1 were used. If it is
set to a number with a fractional component, the number will be rounded down to the
nearest integer.
Examples:
turbulence3(axis1.position, 1) * 100 returns the following three curves:
turbulence3(axis1.position, 8) * 100 returns the following three curves:
Rounding Functions
The following functions are useful for performing various rounding calculations.
NOTE Although you can use these rounding functions as you would any other predefined function, they are
actually implemented as user-defined functions in the functions file provided with the Smoke installation. See
Defining Your Own Functions (page 1269).
Advanced Animation: About Expressions | 1261