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 Mon Sep 21 15:53:25 2020.

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