Algorithm adapted from a JavaScript version on this repository.
I made this adaptation as part of my beginning in Rust. So if you notice some way to improve this code, please contribute with a PR! You'd make my day <3
To run this code, you will need install Rust, use a compatible terminal (I recomend Hyper), and then run the commands below:
git clone git@github.com:moog/rust-doom-fire.git
cd rust-doom-fire
cargo run