HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by omoikane

Comment by omoikane 6 hours ago

0 replies

View on Hacker News

This looks like the classic fire effect: generate rising flames by averaging pixels below each output pixel, and randomize the last row.

I remember this effect because there was a competition[1] where every entry was a fire effect in 256 bytes, and I was amazed at the simplicity of the core algorithm.

[1] https://www.pouet.net/party.php?which=1791&when=1996