Home▸Chemistry & Materials▸Campfire: Fuel & Flame Physics (2D)

🔥 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.

Chemistry & Materials2DEasy60 FPS📱 Mobile-adapted🔥 Fire⇄ 3D version
2d-3d-campfire-2 ↗ Open standalone
⚙ 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

What did you find?

Add reproduction steps (optional)