Skip to content

Function: mulberry32() ​

ts
function mulberry32(seed): () => number;

Small, fast, seedable PRNG returning floats in [0, 1).

Parameters ​

ParameterType
seednumber

Returns ​

() => number

Hat tiling and isohedral tilings after Craig S. Kaplan's hatviz and Tactile (BSD 3-Clause).