Click to seed reagent B. Drag to paint. Right-click to erase.

How Reaction-Diffusion Works

Reaction-diffusion systems couple local chemical reactions with spatial spreading. Even simple equations can self-organize into spots, stripes, wavefronts, and branching textures.

dU = Du∇²U - UV² + F(1-U), dV = Dv∇²V + UV² - (F+K)V
  • 1Diffusion smooths each field by exchanging mass with neighboring cells.
  • 2Reaction locally converts chemicals according to the selected model parameters.
  • 3Pattern formation emerges when diffusion and reaction destabilize the uniform background in different ways.

Gray-Scott is the most famous texture generator, Brusselator favors oscillatory bands and traveling fronts, and Schnakenberg is a compact Turing system with strong spot and stripe splitting behavior.

Models

A classic autocatalytic system where one chemical amplifies itself while a feed and kill term sustain spots, worms, and coral-like textures.

Presets

Controls

8
8
0.160
0.080
0.026
StarvedFed
0.059
PersistentDamped

Statistics

FPS

0

Iteration

0

Mean A

0.981

Mean B

0.024

Var(B)

0.0236

Grid

256×256