Yee

Paul James' Website

Forest Fire Model
By Paul James and Sachin Amaresh

During the course of March, we were tasked with using what we learned about JavaScript in February and apply it to a project in which we had to construct a forest fire model off of a previously made JavaScript file. To start, we made an HLD file which specified what the functions of the model are. We have three agents, which are trees, burning trees, and burnt trees. The behaviors of the model are:
1. The world is covered with trees.
2. Fire can be spread from tree to tree.
3. After a certain amount of steps, a burning tree can turn into a burnt tree.
4. Trees turn into burned trees when lit on fire.
5. Temperature controls the chance of a fire. A colder temperature will create a lower chance for fire. A higher temperature will create a higher change for fire.

Forest Fire Model

JavaScript

Forest Fire Model