textmode.js / Textmodifier / randomSeed
Method: randomSeed()
ts
randomSeed(seed): void;Reset the main sketch random generator to a seed.
This also clears named streams created with randomStream, so future stream lookups are derived from the new root seed.
Parameters
| Parameter | Type | Description |
|---|---|---|
seed | string | number | Seed used to restart the sequence. |
Returns
void