Home▸Articles▸Chemistry & Materials

Reaction-Diffusion Patterns: 2D Gray-Scott

A mathematical model that explains the formation of complex patterns in nature through chemical reactions and diffusion.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What Reaction-Diffusion Patterns Are

Reaction-diffusion systems are mathematical models that describe the interaction between chemical reactions and diffusion. These systems often exhibit complex spatiotemporal patterns, such as stripes, spots, or spirals.

The 2D Gray-Scott model is a specific instance of reaction-diffusion dynamics where two substances, A and B, react to form each other in a nonlinear way while diffusing through space.

Why It Happens

In the Gray-Scott model, substance A diffuses faster than substance B. Substance B is produced by the reaction of A and B, but it is also consumed at a rate proportional to its concentration.

This interplay between production and consumption leads to the formation of stable patterns as substances are distributed unevenly across space.

live demo · related simulation● LIVE

Real-World Examples

Reaction-diffusion systems can be found in various natural phenomena, such as animal coat markings, skin pigmentation, and even bacterial colonies.

In chemical engineering, these models help predict the behavior of industrial processes involving multiple reacting species.

Applications and Implications

Understanding reaction-diffusion patterns is crucial for fields like developmental biology, where it helps explain how complex structures form during embryonic development.

In materials science, these models can guide the design of new materials with desired properties through controlled chemical reactions.

Frequently asked questions

What are feed and kill rates in the Gray-Scott model?

The feed rate is the rate at which substance B is replenished, while the kill rate refers to how quickly substance A is removed from the system. These parameters control the balance between production and consumption of substances.

How do diffusion rates affect pattern formation in reaction-diffusion systems?

Diffusion rates determine how fast substances spread out in space. In the Gray-Scott model, a faster diffusivity for substance A compared to B can lead to the formation of intricate patterns due to their different spatial distributions.

Can reaction-diffusion systems be used to create art?

Yes, artists and scientists have collaborated to use reaction-diffusion models to generate visually stunning patterns that can be used in digital art or even printed on physical media.

Are there other models similar to the Gray-Scott model?

Yes, there are many other reaction-diffusion models, such as the Turing model and the Schnakenberg model, which also describe pattern formation in different contexts and with varying mathematical formulations.

Try it live

Everything above runs in your browser — open Reaction-Diffusion Patterns: 2D Gray-Scott and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Reaction-Diffusion Patterns: 2D Gray-Scott simulation

What did you find?

Add reproduction steps (optional)