Alan Turing's Forgotten Paper
Alan Turing is remembered primarily for his work on computation, cryptography, and the theoretical foundations of computer science. But in 1952, near the end of his life, he published a paper that would prove equally transformative in a completely different field: biology.
"The Chemical Basis of Morphogenesis" proposed a mathematical mechanism by which a fertilised egg — a single chemically uniform cell — could develop into an organism with complex, differentiated structure. Turing showed that if two chemicals with different diffusion rates react with each other in specific ways, spatial patterns emerge spontaneously from an initially uniform state.
The paper was largely ignored for decades. Molecular biology was in its infancy, and the idea of explaining biological patterns with differential equations seemed too abstract. By the 1970s and 1980s, as the mathematics was elaborated and experimental evidence accumulated, Turing's mechanism was recognised as one of the most important ideas in developmental biology.
The Activator-Inhibitor Principle
The heart of Turing's insight is the activator-inhibitor model. Imagine two chemical species:
- The activator promotes its own production (positive feedback) and also stimulates production of the inhibitor.
- The inhibitor suppresses production of the activator (negative feedback).
Without diffusion, this is a standard negative feedback loop — concentrations oscillate or settle to a uniform equilibrium. The surprising effect Turing discovered is what happens when the inhibitor diffuses faster than the activator.
In a small region where the activator happens to be slightly higher than average, it stimulates more activator production — positive feedback drives the local concentration up. Simultaneously it produces inhibitor, but the inhibitor diffuses away rapidly before it can suppress the local activator peak. The activator concentration grows while the inhibitor concentration grows more slowly nearby but suppresses activator production in the surrounding region.
The result: a self-amplifying peak of activator surrounded by a suppressed region. Multiply this across a surface and you get a regular pattern of peaks and troughs — exactly the kind of structure seen in animal pigmentation, sea shell patterns, and embryonic development.
The Equations
A general activator-inhibitor reaction-diffusion system is described by two coupled partial differential equations:
∂u/∂t = Dᵤ ∇²u + f(u, v)
∂v/∂t = D_v ∇²v + g(u, v)
Where u is the activator concentration, v is the inhibitor concentration, Dᵤ and D_v are their diffusion coefficients (D_v > Dᵤ is required for Turing instability), ∇² is the Laplacian operator (measuring local concentration curvature), and f and g are the reaction kinetics — the specific chemical interactions between u and v.
The Laplacian term implements diffusion: chemicals flow from regions of high concentration to regions of low concentration, smoothing out differences. The reaction terms f and g create or destroy chemicals according to local concentrations.
The Gray-Scott Model
Many specific reaction-diffusion models exist, but the Gray-Scott model is the most visually rich and widely explored. Introduced by P. Gray and S.K. Scott in 1984, it models an autocatalytic chemical reaction:
∂u/∂t = Dᵤ ∇²u − uv² + F(1 − u)
∂v/∂t = D_v ∇²v + uv² − (F + k)v
Here u is one chemical (reactant), v is another (product). The term
uv² represents the autocatalytic reaction — v catalyses
its own production at the expense of u. F is the feed rate (rate at
which fresh u is replenished), and k is the kill rate (rate at which
v is removed).
These two parameters, F and k, are the primary controls of the Gray-Scott system. Over the parameter space, different (F, k) values produce dramatically different patterns:
- Spots — isolated peaks of v, reminiscent of leopard spots or cheetah markings.
- Stripes — elongated bands, like zebra stripes or certain fish species.
- Labyrinthine patterns — winding, maze-like channels, common in some coral species.
- Holes — the dual of spots: areas of high u surrounded by v background.
- Travelling waves — self-propagating fronts of chemical activity.
- Solitons — stable self-replicating spots that divide and spread.
The richness of the Gray-Scott model's behaviour space is remarkable. Researcher Robert Munafo has catalogued dozens of distinct pattern regimes, each with different qualitative character, all from the same two equations.
Explore the Gray-Scott model interactively at /reaction-diffusion/. Try painting initial seeds and watching patterns self-organise, or sweep the F and k parameters to discover different pattern regimes.
Why These Patterns Appear in Nature
Turing's mechanism has now been confirmed in numerous biological systems. The strongest evidence comes from direct observation of the chemical dynamics that produce the patterns, not just the final result.
Fish pigmentation has been particularly well studied. In 2012, researchers at Osaka University directly observed activator- inhibitor dynamics in the skin of zebrafish during stripe formation. The activator cells (yellow) and inhibitor cells (black) exhibited exactly the spatial relationships predicted by Turing's equations. When the diffusion ratio was changed by genetic manipulation, the stripes changed to spots — precisely as the mathematics predicted.
Seashell patterns grow along the growing edge of the shell. As the shell grows, the pigment-producing cells along the edge form a one-dimensional reaction-diffusion system. The pattern is "printed" row by row as the shell grows, producing the mathematically predictable patterns seen on Conus and other species.
Digit formation in embryos — how fingers and toes develop as separate structures — is now thought to involve reaction-diffusion dynamics in the developing limb bud. The number and spacing of digits correlates with Turing pattern wavelength, which depends on the physical size of the developing tissue.
Skin ridges that form fingerprints also show characteristics consistent with reaction-diffusion patterning, though the specific molecular components are still debated.
Numerical Implementation
The Gray-Scott model is numerically simple to implement. The key steps at each time step are:
- Compute the Laplacian of u and v using finite differences or a convolution with a discrete Laplacian kernel.
- Apply the reaction terms: compute the change in u and v due to the autocatalytic reaction and feed/kill terms.
- Update u and v concentrations, adding the diffusion and reaction contributions.
- Clamp concentrations to valid ranges (typically 0 to 1).
for each cell (x, y):
laplacian_u = discrete_laplacian(u, x, y)
laplacian_v = discrete_laplacian(v, x, y)
uvv = u[x,y] * v[x,y] * v[x,y] // autocatalytic term
du = Du * laplacian_u - uvv + F * (1 - u[x,y])
dv = Dv * laplacian_v + uvv - (F + k) * v[x,y]
u_new[x,y] = u[x,y] + du * dt
v_new[x,y] = v[x,y] + dv * dt
The discrete Laplacian is typically computed using a 3x3 or 5x5 convolution kernel that averages the concentration difference between each cell and its neighbours. The simulation runs this update thousands of times per second using GPU compute, making real-time interaction possible.
Applications in Art and Design
Beyond biology, reaction-diffusion systems have become a powerful tool for generative art and procedural design. The patterns they produce have a quality that is simultaneously mathematical and organic — precise but not mechanical.
Designers use Gray-Scott and related models to generate:
- Textures for 3D rendering — animal skins, alien surfaces, abstract backgrounds.
- Jewellery patterns — the flowing, biological quality of RD patterns suits decorative metalwork and ceramics.
- Architecture — parametric facades inspired by natural patterning.
- Fabric patterns — weaving and printing designs that echo natural pigmentation.
The system is also used in mathematical art movements like algorithmic art and generative art, where the artist defines the rules and parameters rather than drawing individual elements.
Open Questions
Despite decades of research, Turing's original vision of a complete mathematical theory of morphogenesis remains unfulfilled. Many open questions remain:
- What are the specific molecular identities of the activator and inhibitor in most patterning systems? In many cases we can observe that RD dynamics operate, but the exact chemicals are unknown.
- How do reaction-diffusion patterns coordinate with mechanical processes? Cells do not just change colour — they move, divide, and change shape. The coupling between chemical patterning and mechanical forces is only beginning to be understood.
- How are patterns scaled to body size? A mouse embryo and an elephant embryo have different tissue sizes but similar pattern wavelengths relative to the body. The scaling mechanism remains unclear.
Turing's 1952 paper gave us the mathematical framework. Seventy years later, biology is still revealing the depth of what he glimpsed.