Presets set map size, particle cap and air quality together. You can tweak anything below afterwards. Map changes apply straight away and keep what's on the map.
Map
Map size
Shape
Width (cells)
Height (cells)
Max map size
Air simulation
Performance
Air engine
Air resolution (CPU only)
Pressure iterations
Swirl (vorticity)
Simulation
Speed (ticks per frame)
Particle cap
Explosions per tick
Draw every
Custom elements
Look
Theme
UI scale
Brush shape
Scenes & Saves
Starter scenes
Save slots (this browser)
Share code
Make a code to share your creation, or paste one in and load it.
Info
The top block of elements runs on a direct port of Sandspiel's code, air simulation and colours included. Everything below it is new and built on the same engine. Hover over (or select) any element to see what it does.
Controls
Drag to paint; hold still to keep pouring. Space pause · . step · Ctrl+Z undo · [] or wheel for brush size
Right-drag erases · middle-click picks the element under the cursor
Zoom: Z zooms in where your cursor is, X goes back to normal (or Ctrl+wheel). The + / − buttons on the map zoom too. Move the camera with two fingers, middle-drag, or the ✋ button
Wind: drag to push the air around
Sandspiel systems
AirFire pushes air up and leaves smoke. Explosions are pressure waves that blow things away, crumble stone into sand and melt ice.Plant + FungusThey grow into each other endlesslySeedSprouts on sand into a stem and flower, which turns water into new seedsStoneFalls straight down, but holds itself up in archesRocketCopies what it touches and flies off spraying it
New stuff
Battery → MetalCharge creeps out from where it starts and pulses along the wire, then fades once unpowered. It sets off C-4, nitro and gunpowder. Salt water and mercury conduct too.NapalmSticks to walls and ceilings and keeps burning even in waterNitroExplodes if it falls too far, so pour it gentlyThermite + FireMolten metal that melts through metalLiquid N₂Freezes water, turns lava to obsidian (blast-proof) and steam to snowMercuryEverything floats on it; it conducts and poisons living thingsBlack HolePulls things straight in, stronger up close; bigger holes pull harderMagnetPulls anything carrying a charge toward it; charged things stick until the charge fadesCustom elementsTurn on in Settings. Press + to make an element, ✎ to edit it with blocks (like Scratch), Share code to give it to a friend, drag onto 🗑 to delete