Petrichor.Random#
require("Petrichor.Random") provides deterministic PRNG helpers for mods and generators.
Module-level xorshift32#
Global xorshift32 state. Handy when you want one shared sequence for a short script.
Random.xorshift (instance)#
Random.system#
A System.Random-style LCG. Use it when you need the same integer sequence as other tools that implement that algorithm.