webgl-fire

WebGL fire effect

UNLICENSE License

Stars
43

WebGL Fire

This is a little WebGL demo of the fire effect described in How DOOM fire was done. The entire effect is computed on the GPU using shaders.

Controls

  • SPACE: Toggle pause
  • PgUp/PgDown: Adjust the burner temperature
  • Up/Down: Adjust oxygen level
  • +/-: Adjust animation speed
  • Period: Advance state one step forward while paused
  • a: Instantly advance simulation 1024 steps
  • c: Clear the fire state to zero
  • r: Reset the entire simulation (reinitialize WebGL state)