Felix Liu and Caroline Cunningham

Forest Fire Project

For our (Felix and Caroline) second Shodor group project, we used Aaron's starter code of a disease model, and turned it into our own fire model. Our program starts displaying a certain number of healthy trees, and fire. The fire spreads to any healthy trees next to it, which then become fire themselves. After burning for a defined amount (20 time steps) of time, they turn into burned trees. The number of healthy trees, fire, and burned trees is displayed on a graph. The user can start the program, stop it, step it, change the speed, as well as change the number of agents and the canvas size. Healthy trees are represented by the color green, the fire is represented by red and burned trees are represented by black.

Here is an image of our model:

Behaviors:

    1. Fire can spread between Trees if next to a Healthy Tree
    2. If a Tree is on Fire then after a defined period of time it turns into a Burned Tree
    3. If the Fire cannot spread it dies out