About The Project
We, Akash and Israfil, created a JavaScript model of a forest fire. Trees are placed randomly in the “forest” when the model is loaded. The forest is a term for a canvas where the trees spawn at random (x,y) coordinates. A fire spawns where you click and the surrounding trees have a percent chance of catching on fire. After the tree has burned for a certain amount of time, the tree dies and cannot spread the forest fire anymore.