pcg32
pcg32(
seed?):Pcg32
Defined in: src/engine/pcg32.ts:123
PCG32 — a 64-bit LCG whose output is permuted before it is returned.
Statistically excellent for its size, and it supports multiple independent streams from one seed.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Example
Section titled “Example”const source = pcg32(42);source.nextUint32(); // 2722782280