A somewhat obfuscated version of DOOM’s fire effect (https://fabiensanglard.net/doom_fire_psx/). Source-code included.