Name | noiseSeed |
||
---|---|---|---|
Examples |
xoff <- 0 setup <- function() { noiseSeed(0) stroke(0, 10) } draw <- function() { xoff = xoff + 0.01 n = noise(xoff) * width line(n, 0, n, height) } | ||
Description | Sets the seed value for noise(). By default, noise() produces different results each time the program is run. Set the seed parameter to a constant to return the same pseudo-random numbers each time the software is run. | ||
Syntax | noiseSeed( | ||
Parameters |
| ||
Related |
noise noiseDetail random randomSeed |
Cover
Reference
Tutorials
Bugs