Doom Fire rust implementation based on Fabien Sanglard's blog post.
The implementation is independent of the graphics library used.
The examples folder contains examples using different graphics libraries to render the DOOM fire:
- doomfire-minifb uses minifb
- doomfire-pixels uses pixels
- doomfire-sdl2 uses the rust sdl2 bindings
- doomfire-wasm please see the README.md inside the example folder for instructions on how to build and run.
How to run
To run the examples
cd into one of the examples folder and run it using cargo. For example:
$ cd examples/doomfire-sdl2 $ cargo run --release
Note that all of these graphics libraries have system dependencies so it the build fails check the output and install the missing libraries using your systems package manager.