Free tools & games for everyone
Free · No sign-up · No accounts
Draw sand, water, oil, stone, wood, plants and fire and watch them fall, flow, float, grow and burn in a cellular automaton sandbox.
| Space or P | Play or pause (when no button or box has focus) |
|---|---|
| Tab | Move between the controls; choose a scene to start without drawing |
| Drag on the field | Draw with the chosen material |
Falling-sand games are cellular automata: the field is a grid, every cell holds one material, and each step every cell follows a few rules about its neighbours. Here the grid is updated from the bottom row up, and each row alternately left to right and right to left, so nothing drifts to one side. Sand falls if the cell below is empty or holds a liquid, otherwise it slides diagonally. Water and oil also flow sideways, and water sinks below oil. Fire sets fire to wood (5 % chance per step for each neighbour), plants (8 %) and oil (25 %), stays put while it has fuel, otherwise drifts up, goes out next to water and leaves smoke; smoke rises and fades. Plants turn water next to them into plant with a 4 % chance per step. The random choices use a seeded generator, so a scene with the same seed always plays out the same way. It is a toy model of materials, not a physics simulation. Everything runs in your browser.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product