Skip to content

kevincheng0/hackpsu-wildfire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hackpsu-wildfire

This program is a basic fire spread model based on the cellular automata model.

To run the program, type:

$ python fire-simulator.py

The green square represent trees, brown represents empty space, and orange represents fire. You can use the "Add Trees" and "Erase Trees" buttons to toggle drawing/deleting trees. Press "All Trees" if you want to fill the entire canvas, and "Clear All" to delete all the objects. (Prolonged use without clearing will cause lag!)

The lighter button allows you to draw fire patterns on the canvas. Press "Start" to start the fire simulation.

About

My project for HackPSU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages