Home▸Physics & Mechanics▸Falling Sand: Sand, Water, Smoke & Fire Automaton (2D)

🏖️ Falling Sand: Sand, Water, Smoke & Fire Automaton (2D)

A 2D cellular-automaton sandbox: paint sand, water, smoke or fire onto a grid and watch gravity, lateral flow, buoyant drift and combustion rules produce emergent granular and fluid behaviour in real time.

Physics & Mechanics2DEasy60 FPS📱 Mobile-adapted🌍 Earth⇄ 3D version
2d-magic-sand ↗ Open standalone
⚙ Under the hood

A 2D Canvas cellular-automaton sandbox where you paint sand, water, smoke or fire onto a grid of cells. Sand falls and slides into piles, water falls then spreads sideways to find its level, smoke rises with random drift and fades, and fire climbs, decays and spawns smoke, all driven by real local grid-update rules each frame. Adjustable slide-chance and simulation-speed sliders plus a live HUD of active cell counts and frame rate let you inspect the mechanics directly.

Cellular AutomatonGranular PhysicsFluid DynamicsSandEmergent Behavior

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)