Forest-Fire Model in Elm (Try It)
A forest-fire model as a probabilistic cellular automaton.
- A burning tree becomes a empty site
- A green tree becomes a burning tree if at least one of its nearest neighbors is burning.
- At an empty site a tree grows with probability p.
- A tree without a burning nearest neighbor becomes a burning tree with probability f.
git clone https://github.com/y-taka-23/elm-forestfire.git
cd elm-forestfire
npm install
elm-package install
npm run start
- Bak, P., Chen, K. and Tang, C. (1990), "A forest-fire model and some thoughts on turbulence." Phys. Lett. A 147, pp.297โ300.
- Drossel, B. and Schwabl, F. (1992), "Self-organized critical forest-fire model." Phys. Rev. Lett. 69, pp.1629โ1632.