Lab · September 2026 Lab
Morphogenesis Chamber
Artificial life in the browser: five pattern-formation models, from Turing to Lenia, computed on the GPU.
What it is
Five classic models implemented from scratch and actually running —nothing prerecorded— with their parameters open in a console. The navigation rail doubles as a timeline of the idea: 1952, 1981, 1987, 2010, 2019.
It all fits in a single HTML file that opens with a double click.
What I built
- Gray–Scott reaction–diffusion with ping-pong textures and a 9-point Laplacian
- Diffusion-limited aggregation colored by age
- Reynolds flocking with a spatial grid and a blind spot
- Physarum with agents stored in a texture and food sources
- Lenia with the canonical Orbium and Hydrogeminium creatures
The hard parts
Phase map
The grid is split into about forty tiles, each running its own simulation with its own F and k: Pearson’s boundaries aren’t drawn, they emerge.
Exact creatures
Orbium and Hydrogeminium weren’t transcribed by hand: a script extracts them from the original notebook and validates the matrix.
One model, one file
Adding Lenia took exactly one new file and one line in the build. Not a single line of interface.