🔥 Campfire: Fuel & Flame Physics (2D)
Interactive 2D campfire driven by a fuel-consumption model: flame height scales with remaining fuel, embers drift and fade, and wind bends the flame and smoke sideways. Add logs, blow, and watch the fire burn down in real time.
⚙ Under the hood
Interactive 2D campfire driven by a fuel-consumption model: flame height scales with the square root of remaining fuel and current burn rate, embers spawn and drift with buoyancy and drag, and a wind slider shears the flame plume and embers sideways in proportion to their height above the fuel bed.
campfirecombustionfuel consumptionflame flickeremberswind2d
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install