https://github.com/archange-py/fire_simulation
This directory contains an emulator to simulate a forest fire on the Numworks calculator or on your computer.
https://github.com/archange-py/fire_simulation
calculator fire forest numworks python simulator
Last synced: about 1 year ago
JSON representation
This directory contains an emulator to simulate a forest fire on the Numworks calculator or on your computer.
- Host: GitHub
- URL: https://github.com/archange-py/fire_simulation
- Owner: Archange-py
- Created: 2024-08-02T17:27:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T19:31:24.000Z (almost 2 years ago)
- Last Synced: 2024-08-03T21:16:20.208Z (almost 2 years ago)
- Topics: calculator, fire, forest, numworks, python, simulator
- Language: Python
- Homepage:
- Size: 4.84 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The author of the image is Maciek (@voxelhagrid), available here: https://lospec.com/voxelhagrid
# Fire Simulation
###
This directory contains an emulator to simulate a forest fire on the Numworks calculator or on your computer. To install the libraries needed to run it on your computer, go to the [Visuel](https://github.com/Archange-py/Visuel) repository. To install it on the Numworks, go directly [here](https://my.numworks.com/python/archange/fire_simulator), then upload it directly to the calculator. On the other hand, the example file must be copied and pasted manually into a script created on the Numworks site.
## Table of Contents
***
1. [General Info](#general-info)
2. [Examples](#examples)
## General Info
***
###
In this project, the forest is represented by a matrix of dimension N, and contains forest plots in different states: alive, on fire or burnt. You can change many of the parameters, including the probability of burning (wind strength), the colors of the 3 possible states, the size of the plots and their spacing, the position of the matrix...
## Examples
***
###
Here are a few possible video examples, all listed in the [example file](example_simulation.py) :
+ [Example 1](https://github.com/Archange-py/Fire_Simulation/blob/main/movies/example_fire_1.mp4)
+ [Example 2](https://github.com/Archange-py/Fire_Simulation/blob/main/movies/example_fire_2.mp4)
+ [Example 3](https://github.com/Archange-py/Fire_Simulation/blob/main/movies/example_fire_3.mp4)
+ [Example 4](https://github.com/Archange-py/Fire_Simulation/blob/main/movies/example_fire_4.mp4)