Old school fire effect with Python/Cython Compatible with pygame version 2.0
Install the program using FireEffect.exe
HUE : up/down
SATURATION: + / -
LUMINESCENCE : Left/right
pip install pygame cython numpy==1.19.3
- python > 3.0
- numpy version 1.9.13
- pygame
- Cython
- A compiler such visual studio, MSVC, CGYWIN setup correctly
on your system.
- a C compiler for windows (Visual Studio, MinGW etc) install on your system
and linked to your windows environment.
Note that some adjustment might be needed once a compiler is install on your system,
refer to external documentation or tutorial in order to setup this process.
e.g https://devblogs.microsoft.com/python/unable-to-find-vcvarsall-bat/
In a command prompt and under the directory containing the source files
C:\>python setup_project.py build_ext --inplace
If the compilation fail, refers to the requirement section and make sure cython
and a C-compiler are correctly install on your system.
Edit the file fire_demo.py in your favorite python IDE and run it
Or run fire_demo.py