The Doom fire algorithm
I recently stumbled over the Doom fire algorithm. The canonical description of it is Fabien Sanglard’s blog post about the PlayStation 1 Doom fire implementation.
Naturally, I wanted to play around with it and add some knobs and colour customizations.
Here is the result. The implementation below is based on Fabien Sanglard’s cleaned-up version. I kept the basic algorithm intact and added controls for the cooling and wind. The palette is the one from the original implementation.