rng
Public Function
Seeded random number generator, using xorshift. The result will always be betweeen -1 and 1.
Adapted from seedrandom.
Parameters
Name | Description |
---|---|
(optional) |
|
Returns
() => number
Public Function
Seeded random number generator, using xorshift. The result will always be betweeen -1 and 1.
Adapted from seedrandom.
Name | Description |
---|---|
(optional) |
|
() => number