u + 2v → 3v with feed F and kill k. Choose a point on the map or a preset; paint seeds with the pointer.
The science
Model. ∂u/∂t = Du∇²u − uv² + F(1 − u), ∂v/∂t = Dv∇²v + uv² − (F + k)v, with Du = 0.2097, Dv = 0.105 (lattice units, dt = 1, forward Euler). The solver runs in float32 on the GPU (one fragment-shader pass per step, ping-pong textures); u and v are clamped to [0, 1].
Homogeneous states. uv = F + k and u = 1 − (F + k)v/F give v = F/(2(F+k)) [1 ± √(1 − 4(F+k)²/F)]. They exist only when F ≥ 4(F+k)², i.e. below the saddle-node curve k = √F/2 − F drawn on the map. The trivial state (1, 0) is always linearly stable, so most patterns here grow from a finite seed: the spots divide because the seed is a large perturbation, not because of a linear Turing instability. Where the upper state exists, the page computes its Jacobian J = [[−v² − F, −2(F+k)], [v², F+k]], its eigenvalues, the Hopf condition tr J = k − v² = 0 (dashed curve), and the largest growth rate of J − q²D over all wavenumbers (Turing test).
Wavelength. The dominant wavelength is the peak of the radially averaged power spectrum of v (Hann window), in lattice cells. It is compared with the diffusion length ℓ = √(Dv/(F + k)).
Domains and stencils. Periodic (a torus), no-flux square, or a round dish with no-flux walls (neighbours outside the dish are replaced by the centre value). The 5-point Laplacian has a visible grid bias; the 9-point isotropic stencil (weights 0.2 and 0.05, divided by 0.3) removes most of it.
Rendering. The colour map is a palette of v. Relief view shades the height field v with a pearl matcap and the Petri dish frame, both rendered in Blender; the shading is for looks only.
Simplifications: dimensionless Pearson-type constants, explicit Euler with dt = 1 (stable because 4 Du dt < 1), the clamp to [0, 1], no noise, and an idealised flat dish.
Running numerical checks...