This simulation needs WebAssembly, and it could not start in this browser.
The image is a frame from a real run. Check that JavaScript is on, or try another browser.
In 1952 Alan Turing showed that two substances that react with each other and diffuse at different rates can turn a uniform mixture into a stationary pattern. Alfred Gierer and Hans Meinhardt gave the idea a concrete form in 1972, as a model for how a hydra regrows its head: an activator that enhances its own production and that of its inhibitor, with the inhibitor spreading much farther than the activator. Local self-enhancement combined with long-range inhibition has since become a widely used explanation for regularly spaced structures in development, such as hair follicles and feather buds, and Meinhardt used variants of the model for the pigment patterns of sea shells.
What you see
The color shows the inhibitor on a 200 by 200 grid whose edges wrap around, stretched from its lowest to its highest value, or over at least a quarter of its mean when the field is nearly uniform. Every run starts at the uniform steady state with 10% noise. The grid is advanced with explicit Euler steps of , 8 steps per frame, so one second at 60 frames per second covers 240 time units.
Governing equation
The activator catalyzes its own production and that of the inhibitor , which slows the production of . Both decay, the activator at rate and the inhibitor at rate , and is a small production of that needs no activator. The original model has a production constant in front of both terms. Rescaling removes it without changing , so it is set to 1 here.
The uniform steady state is , . A pattern grows when the inhibitor diffuses fast enough compared with the activator. With the default kinetics the threshold is , and the default diffusion coefficients give a ratio of 40. The linear stability analysis predicts the wavelength that grows fastest, and the spots end up at about that spacing.
Presets
Spots: , , , , , also the default. Spots emerge after about 5 seconds and are settled after about 10. About 544 spots form, a spacing of about 9.2 cells, against 8.9 cells for the fastest growing mode.
Large spots: , , . Twice the diffusion and a slower inhibitor decay give a longer wavelength: about 221 spots, 14.5 cells apart, against 13.5 cells predicted.
Below the Turing threshold: , , the default kinetics. The diffusion ratio of 10 is below the threshold of 13.8, so no wavelength can grow. The initial noise shrinks by a factor of about every 2.5 seconds, and after about 15 seconds the grid is uniform.
This version of the model forms spots. Stripes need an extra saturation term in the activator production, which this simulation does not include.
Parameters
Activator decay rate μ, Inhibitor decay rate ν: 0.001 to 0.1 each. They set the steady state and how fast the pattern forms. The activator can only enhance itself while is larger than : with and the grid stays uniform.
Basal production σ₀: 0 to 0.01. Larger values raise the steady state and weaken the instability.
Diffusion Dᵤ, Diffusion Dᵥ: 0.001 to 0.05 and 0.05 to 0.4. The pattern wavelength grows with both, and their ratio decides whether a pattern forms at all. stops at 0.4, below the explicit stability limit (), where the finest checkerboard ripple stops decaying.
Boundary: periodic edges, or solid edges that nothing crosses.
Resolution: the side length of the square grid, 50 to 256 cells. Changing it rebuilds the grid at once from new noise.
Color map: other color scales over the same range.
All other controls act immediately on the running simulation.