An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          


fire

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)