Home▸Nature & Climate▸Forest Fire Spread (2D) — Percolation & Cellular Automaton

🌲 Forest Fire Spread (2D) — Percolation & Cellular Automaton

2D forest fire cellular automaton on plain Canvas 2D. Adjust tree density, lightning probability, regrowth rate and wind. Explore the percolation phase transition.

Nature & Climate2DModerate60 FPS🔥 Fire💨 Air & Wind⚡ Plasma⇄ 3D version
2d-forest-fire ↗ Open standalone

The same percolation cellular automaton as the 3D version, rendered on a plain Canvas 2D grid: trees, fire, ash and regrowth, painted pixel-by-pixel with putImageData instead of a WebGL texture quad.

⚙ Under the hood

A 2D Canvas cellular automaton where you control tree density, lightning strikes, regrowth rate and wind to explore the percolation phase transition in wildfire spread.

forest firecellular automatonpercolationwildfireself-organized criticality

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)