rocinantealpha

reference / random and noise

noise

Smooth random noise from 0 to 1 in one to four dimensions; add as simplex for simplex noise.

for i from 0 to 79 [ point at (i * 5) (300 * noise (i * 0.05)) ]
what it draws: the whole window, 400 by 300
What the example of noise draws

How to write it

noise x [as word]

Gives a number.

noise x y [as word]

Gives a number.

noise x y z [as word]

Gives a number.

noise x y z w [as word]

Gives a number.

Words it takes

after as
perlin, simplex

Related