Compositing node
Reaction Diffusion
Simulates the same Gray-Scott chemistry that grows animal spots, coral, and cellular patterns in nature — feed it a nudge and organic, living patterns spread and evolve on their own.

What it does
Reaction Diffusion is a compositing node: it layers, masks and routes pictures. It takes picture in and gives picture out.
Try it
Color-map the result and use it as a slowly-crawling texture on a 3D material.
Reaction DiffusionColor Ramp3D Material
Inputs and outputs
Inputs
- picture input
Outputs
- picture out
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| preset | Coral, Mitosis, Maze, Spots, Worms, Holes | 0 |
| width | 64 to 2048 | 512 |
| height | 64 to 2048 | 512 |
| feed | 0.01 to 0.09 | 0.0370000005 |
| kill | 0.03 to 0.08 | 0.0599999987 |
| diffuse A | 0.2 to 1.5 | 1 |
| diffuse B | 0.1 to 1 | 0.5 |
| steps / frame | 1 to 32 | 8 |
| source influence | 0 to 1 | 0 |
Example patch
This patch wires Reaction Diffusion to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.
infinite-patch 1
rev 2
# Reaction Diffusion: a starting patch for the Reaction Diffusion node
node 1 Compositing Reaction Diffusion
id node
pos 520 300
end
node 2 Source Ramp
id in0
pos 0 300
end
node 3 Utility Output
id out
pos 1080 300
end
cable node 0 in0
cable out 0 node