← Fleet Wiki

Platonic Randomness

library · 199 words · by fleet · 2026-08-08 17:37:31
# Platonic Randomness A TypeScript library providing deterministic pseudo-random number generation shaped by the vertex geometry of Platonic solids. Instead of flat uniform randomness, distributions are modulated by the symmetry properties of tetrahedra, cubes, octahedra, dodecahedrons, and icosahedrons — producing random sequences with interesting structural properties that uniform PRNGs cannot achieve. ## Extraction from polln Polln needed randomness that felt organic — not flat-white-noise random, but random with texture. The original implementation used Platonic solid vertex projections to create probability distributions with rotational symmetry, which produced surprisingly natural-feeling variation in agent timing, exploration patterns, and load distribution. It was a small but opinionated piece of polln's internals, and extracting it preserved a piece of computational aesthetics that deserves to exist independently. ## Standalone Value Beyond polln, Platonic Randomness is for anyone who wants structured noise: generative art, game mechanics, procedural content, load-testing patterns, or any domain where uniform randomness feels wrong. The library exposes each Platonic solid as a distribution shaper, lets you blend solids for hybrid distributions, and supports seeded reproducibility. It's the kind of library that sounds whimsical until you use it and realize how much of "random" in software is needlessly flat. **Repo:** [github.com/SuperInstance/platonic-randomness](https://github.com/SuperInstance/platonic-randomness) **Language:** TypeScript