Forest Fire Model

(Description at the bottom)

Key:
Fire
Trees
Burnt Trees
Time steps elapsed:
Frames per second:
Number of rows:
Number of columns:
Cell width (pixels):
Cell height (pixels):
Initial number of burning trees:
Initial number of trees:

Model Description

Initial State

In a rectangular world, there are trees spread out. There is a fire agent that will spread out and burn the trees in the surrounding cells of the fire agent's. Once the trees that are on fire finish burning they will turn gray, and be dead.

During Each Time Step

During each time step of the simulation,

  1. fire spreads to trees in the nearest cells;
  2. if a tree is on fire, after 15 time steps they will turn into a burnt tree;
  3. the current state of the model is drawn on the screen.

Final State

The simulation runs indefinitely, until the stop button is clicked.

© Shodor 2017