Reaction–Diffusion (Gray–Scott)

steps 0
paint with the mouse to seed chemical B · each frame runs 10 simulation steps
0.0545
0.0620
∂A/∂t = DA∇²A − AB² + f(1−A) and ∂B/∂t = DB∇²B + AB² − (k+f)B, with DA=1, DB=0.5. Space pause · R reseed