Sets the seed value for the random() and randomGaussian() functions.
By default, random() and randomGaussian() produce different results each time a sketch is run. Calling randomSeed() with a constant argument, such as randomSeed(99), makes these functions produce the same results each time a sketch is run.
Examples
Syntax
randomSeed(seed)
Parameters
seed
Number:
seed value.
This page is generated from the comments in src/math/random.js . Please feel free to edit it and submit a pull request!