Name

noiseSeed()

Examples
xoff = 0.0
noiseSeed(0)
stroke(0, 10)
for i in range(1000):
  xoff = xoff + .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(seed)
Parameters
seedint: seed value
Related noise()
noiseDetail()
random()
randomSeed()

Updated on Tue Feb 27 14:07:12 2024.

If you see any errors or have comments, please let us know.