Skip to content

createRng

createRng(seed?): any

Defined in: rng.js:13

Create a seedable RNG.

Parameters

seed?

number = ...

Any finite number; omit for a time-based seed

Returns

any

{float, int, normal, seed}