Wanted to throw something together for p8jam2, so did a spin on the forest-fire cellular automata.

**Controls**

Up/down: adjust probability of new fires

Left/right: adjust probability of tree growth

Button 1: reset probabilities

Button 1+2: reset map

(Warning: you could probably give yourself a seizure by cranking up the probabilities to the max.)

If you're not familiar with forest-fire, the rules are as follows:

1) A burning cell will become an empty cell

2) A tree will start to burn if at least one neighbor is burning

3) A tree ignites with probability *f* even if no neighbor is burning

4) An empty space fills with a tree with probability *p*

(from Wikipedia)

Cellular automata is love. Cellular automata is life.

Very clean presentation, I love the look of the trees and the fire!

Quite fun to tinker around with! I included it in my Pico-8 Jam #2 compilation video series, if you’d like to take a look :)

[Please log in to post a comment]