This effect was first developed by @thejare in 1993.
http://www.pouet.net/prod.php?which=15071
Old discussion:
https://news.ycombinator.com/item?id=15828773
More info here:
http://www.iguanademos.com/Jare/wp/?p=2756
https://www.hanshq.net/fire.html
https://www.gamedev.net/articles/programming/graphics/simple...