Free tools & games for everyone
Free · No sign-up · No accounts
Grow Turing patterns with the Gray-Scott reaction-diffusion model: spots, stripes, mazes and dividing cells from a few drops.
Steps: 0
| Click, tap or drag on the picture | Add drops of chemical V |
|---|---|
| Tab to F or k, then Up / Down | Nudge the feed and kill rates |
In 1952 Alan Turing showed that two chemicals that react and spread at different speeds can turn an even mixture into a pattern. This page runs the Gray-Scott model, a well-studied example: U is fed in at rate F, two V molecules turn a U into V (U + 2V → 3V), V is removed at rate F + k, and U spreads twice as fast as V. Each step every grid square is updated from its neighbours with a 3 × 3 averaging stencil (sides 0.2, corners 0.05) on a 160 × 160 grid that wraps round at the edges. The named patterns use well-known F and k values from the reaction-diffusion literature. Whether real leopard spots form exactly this way is still studied; the patterns here show the idea, not a model of any animal. The tests check one step against an independent Python calculation, that an even mixture stays even, and that spots and mazes appear.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product