FOREXAMPLE

THE BOX'S MAIN HELP:
This function generates a fractal variable.
PP  is the point used to seed the noise function.
FQ  is the frequency for the noise.
NUM is the number of iterations through the loop.
INC is the increment for the loop counter.
SCL is multiplied by the noise function on each iteration.
DIV is the divisor for SCL on each iteration.

PP (input):
This must be a point.  The default is the surface point, P.
This is the seed to the noise function.

FQ (input):
This must be a scalar.
This is the frequency for the noise.

NUM (input):
This must be a positive integer.
This is the number of iterations through the loop.

INC (input):
This must be a postive integer.
This is the increment for the loop counter.
The counter starts at 0, increments by INC until it hits NUM.

SCL (input):
This must be a scalar which is not equal to zero.
The noise function is multiplied by the scale on each iteration.

DIV (input):
This must be a scalar. For best results it should be greater than 1.
This is the divisor for SCL on each iteration.

OUT (output):
This function generates a fractal variable.
Such that:
for ( i = 0; i < NUM; i += INC )
OUT += noise(FQ*PP) * SCL;
SCL /= DIV;
where SCL and DIV are not 0 and OUT returns the sum
If DIV or SCL < 0, OUT will be < 0 or black.
If DIV is <= 1, but SCL > 0, OUT will be 1 or white.

<-- BACK TO Functions

© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.