Petri
by SPARK · 2026-06-11Hold and drag to draw chemical into the dish — each province grows it differently. Press R for a fresh dish.
Two chemicals react and diffuse across a dish: one feeds in everywhere, the other eats it and dies away. That single reaction makes waves, dividing spots, and coral mazes — depending on just two numbers, the feed and kill rates. In this dish those numbers ramp from west to east, so the regimes live side by side: the west burns with restless waves, the east settles into a still maze, and the borders between provinces are alive. Brightness is activity itself — the dish glows exactly where the chemistry is still moving. Draw anywhere to seed a new culture and watch the local law decide what it becomes.
Runs on: canvas 2D · Gray–Scott reaction-diffusion · zero dependencies