Home

Awesome

<p align="center"> <h1>🔥 Fire Doom Simulator 🔥</h1> <h6>by <i>FranciscoCharles</i></h6> </p>

An interactive Doom fire simulator with a simple options menu developed in Python + Pygame. In this project it is possible to change the amount of fps, flame decay, wind direction, wind force and make it possible to change the colors of the flames in the HSL(hue, saturation, lightness) color space, in addition to allowing to turn on/off the flames.

<p align="center"> <img src="src/images/simulador.png"> </p>

<a name=index>Table of contents 📚</a>

<a name=menu>Options menu 🧰⚙️</a> <h6>back to indice</h6>

<p align="center"> <img src="src/images/opcoes.png"> </p>

The program has 8 adjustable options and allows you to use the Q key to turn the fire on/off. The options currently available are:

The options below can only be changed if color intensity is True.

<a name=using_menu>How to use the options menu 🕹️</a> <h6>back to indice</h6>

<a name=example>Example of possible colors for the flames 🎨</a> <h6>back to indice</h6>

The image below is a demonstration of the colors that are possible for the flames.

<p align="center"> <img src="src/images/firecolor.png" width="600"> </p>

<a name=run>How can I run? 🧠💭</a> <h6>back to indice</h6>

Download the project, install the dependencies, enter the src folder and execute:

python main.py

<a name=honorable_mention>Honorable mention 🥇</a> <h6>back to indice</h6>

This project is based on a <a href="https://youtu.be/fxm8cadCqbs" title="go to the Dechamps video tutorial">video</a> from <a href="https://github.com/filipedeschamps" title="Dechamps github profile">@filipedeschamps</a> , where he brings a doom fire algorithm that he implemented, in the video he explains how the algorithm works in a didactic, practical and simple way. My thanks for sharing your knowledge, diverse and fun content.

<a name=dependencies>Dependencies</a> <h6>back to indice</h6>

<a name=version>Version</a> <h6>back to indice</h6>

<a name=license>License</a> <h6>back to indice</h6>

For more information on the license for this project read the <a href="./LICENSE" title="go to license file">LICENSE</a> file.


<p align="center"> Copyright © 2021 <b>FranciscoCharles</b> </p>