randomSeed()
Math / RandomDescription
Sets the seed value for random(). Repeated calls with the same seed will produce the same sequence.
Syntax
void randomSeed(long s)
Parameters
| Name | Type | Description |
|---|---|---|
| s | long | seed value |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...