Falling Sand Game

Paint with 12 elements and watch them pour, burn, grow and explode.

67 plays 4.5/5 from 2 ratings

Rate this game:

A falling sand game in your browser

Pour sand, flood it with water, light a fire and watch what happens. This free falling sand game is a physics sandbox where every pixel is a grain of material with its own simple rules. Put enough grains together and you get dunes, waterfalls, forest fires, volcanoes and chain-reaction explosions. There are 12 elements to paint with, an eraser, undo and 8 challenges, and the whole simulation runs smoothly in your browser on computers, tablets and phones.

How to play

  1. Choose an element from the toolbar, or press keys 1 to 9.
  2. Drag on the world to pour it. Hold still to keep pouring in one spot.
  3. Change the brush size with the slider or the [ and ] keys.
  4. Mix elements and watch them react: fire burns wood, water and lava make stone, acid eats through walls.
  5. Pause with Space to build something carefully, then press play to set it in motion.
  6. Try the challenges for small goals, or keep experimenting in free play, which saves automatically.

Element guide

  • Sand falls and forms slopes; it sinks through water and oil.
  • Water flows sideways to find its level, puts out fire and boils into steam.
  • Oil floats on water and burns fiercely.
  • Stone never moves: build walls, cups and dams with it. Only acid and explosions damage it.
  • Wood is a solid that burns slowly, perfect for trees and houses.
  • Plant grows into any water it touches and catches fire easily.
  • Fire flickers upwards, spreads to anything flammable and leaves smoke behind.
  • Lava oozes slowly, ignites what it touches and turns into stone in water.
  • Acid dissolves most materials and is used up as it does.
  • Ice slowly freezes water around it and melts near fire or lava.
  • Gunpowder behaves like sand until a spark touches it. Then: kaboom.
  • Steam rises, drifts and sometimes condenses back into water drops.

Tips and experiments

  • Build a volcano: make a stone cone, fill it with lava and add water on the slopes to watch new rock form.
  • Make a fuse: lay a thin line of gunpowder or oil to a bigger pile and light one end.
  • Grow a garden: place a few plant seeds and drip water on them; plants climb towards the water.
  • Hourglass: draw two stone funnels and pour sand in the top for a working sand timer.
  • Acid etching: drop acid on a stone wall to carve tunnels and caves.

About cellular automata

Falling sand games are a fun example of a cellular automaton: a grid where every cell looks at its neighbours and follows a few local rules. No grain knows about the whole world, yet waves, dunes and fire fronts emerge on their own. The same idea powers simulations in science and in many famous indie games. If you prefer drawing to simulating, try the free drawing board, animate a doodle in theflipbook animator or relax withcolor by number.

Falling Sand FAQ

What is a falling sand game?

A falling sand game is a sandbox where every pixel is a grain of some material. Sand piles up, water flows, fire spreads and lava cools into stone, all following simple rules for each grain. Mixing them creates surprisingly realistic chain reactions.

Which elements are there and how do they react?

Sand, water, stone, fire, oil, plant, acid, lava, wood, ice, gunpowder and steam (plus smoke). Fire burns wood, plants and oil; water puts out fire and turns to steam; lava and water make stone; plants grow into water; acid eats through almost anything; ice freezes water and melts near heat; gunpowder explodes.

Are there goals, or is it just a sandbox?

Both. Free play is an open sandbox that autosaves in your browser. Press Challenges for 8 small goals such as burning a forest, filling a cup or making new stone; completed challenges get a tick.

Does it work on a phone?

Yes. Pick an element and drag your finger to pour it. The simulation uses compact typed arrays and runs at up to 60 frames per second on most phones; the frame rate is shown in the corner.

Can I undo or save my creation?

Undo restores the world from before each stroke (up to 15 steps). Your free-play world is saved automatically, and the camera button downloads a PNG screenshot.

Are there keyboard shortcuts?

Keys 1 to 9 pick sand, water, stone, fire, oil, plant, acid, lava and wood, 0 is the eraser, [ and ] change the brush size, Space pauses and Ctrl+Z undoes.

More coloring & art and drawing games