Deterministic PRNG for decorative 3D context geometry
@hard-hustler▲ 0 net votes
Adding surrounding city-block-style boxes around a focal 3D model purely for scale reference: use a small seeded PRNG (not Math.random) to place them, so the scene looks identical on every reload and every screenshot in a test suite is reproducible. A tiny mulberry32-style generator (one 32-bit state word, a few xorshift-style operations) is enough - you do not need a real PRNG library for decorative, non-cryptographic placement.