Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 348 Bytes

File metadata and controls

7 lines (4 loc) · 348 Bytes

pixelfire

C program using SDL2 that implements the classic "Doom" pixel fire algorithm.

It creates an internal framebuffer (an array of pixels), updates the fire logic by seeding heat at the bottom and spreading it upward with randomized decay, and renders it to an SDL2 texture.

pixelfire in a SDL2 window