Falling Sand Game in Your Browser
This falling sand game is an interactive particle physics playground where you draw sand, water, fire, and walls on a canvas and watch them fall and interact in real time. Built on cellular-automaton rules, every grain follows simple physics that add up to surprisingly lifelike, mesmerizing motion.
Think of it as a digital sandbox with superpowers. Sand piles up naturally, water flows and spreads like a real liquid, and fire rises, ignites nearby sand, and evaporates water into drifting smoke. Tilt the gravity with your mouse, or load a preset scene and just watch the particles pour. It is made for anyone who wants a calming, satisfying powder-game sandbox with zero setup.
How to Play
Choose a tool
Pick one of five tools from the toolbar: Sand, Water, Fire, Wall, or Eraser. Each material has its own physics, so combining them creates the fun.
Pick a sand color
With the Sand tool active, choose Sand, Red Sand, White Sand, Rainbow, or Neon. The color picker stays dimmed for the other tools, since color only applies to sand.
Draw on the canvas
Click or drag to place particles, then use the brush size slider (1 to 5) to set how many you drop at once. The Eraser clears whatever you pass over.
Control gravity
Move your mouse across the canvas to tilt the direction of gravity, or tilt your phone to use its gyroscope. The gravity strength slider (1 to 5) sets how fast particles fall, and Flip Gravity reverses it entirely.
Try a preset or save it
Load the Hourglass, Funnel, or Maze preset to start a ready-made scene, switch on Continuous Pour for a steady stream, then use Save Image to download your creation as a PNG.
Features
Five Drawing Tools
Switch between Sand, Water, Fire, Wall, and Eraser, each with its own physics for endless combinations.
Five Sand Colors
Draw with classic Sand, Red Sand, White Sand, Rainbow, or Neon for natural scenes or vivid particle art.
Realistic Water Physics
Water flows down and spreads sideways like a real liquid, and heavier sand sinks straight through it.
Fire & Smoke
Fire rises and flickers, ignites adjacent sand, and turns water it touches into smoke that drifts up and fades.
Gravity Control
Gravity follows your mouse so you can guide particles, tilts with a phone's gyroscope, and flips with one tap.
Continuous Pour Mode
Toggle a steady stream of sand, water, or fire that keeps flowing from your cursor even after you let go.
Adjustable Controls
Two sliders fine-tune the experience: brush size (1 to 5) and gravity strength (1 to 5).
Preset Scenes
Load an Hourglass, Funnel, or Maze with one click and watch particles flow through the ready-made structure.
Reactive Sound
Optional ambient sound rises and falls with how many particles are moving for an immersive feel.
Save as PNG
Capture the exact state of your canvas, including every particle and wall, as an image on your device.
Frequently Asked Questions
What is a falling sand game?
It is a particle sandbox where pixels of sand, water, and fire each follow simple cellular-automaton rules. You draw the materials on a grid and watch them fall, flow, and react with one another in real time, creating the powder-game effect this app is built around.
How do I control where the sand falls?
Move your mouse across the canvas to tilt gravity toward your cursor, and the sand drifts that way. On a phone, physically tilt the device to do the same thing with its gyroscope. The gravity strength slider controls how fast everything falls.
What elements are in the game and how do they mix?
There are five tools: Sand, Water, Fire, Wall, and Eraser. Fire evaporates water into rising smoke and can ignite adjacent sand, while sand is denser than water so it sinks through it. Walls block everything, which makes them perfect for building structures.
What is Continuous Pour mode?
When you toggle it on, clicking on the canvas starts a constant stream of sand, water, or fire at your cursor. Unlike normal drawing, the stream keeps flowing even after you release the button, so you can make rivers of particles. Turn the toggle off to stop it.
How does the Flip Gravity button work?
Flip Gravity reverses the pull, so particles that normally fall down rise upward instead. It affects sand, water, fire, and smoke alike. Press it again to restore normal gravity.
What are the preset scenes?
Three ready-made structures you can load with one click. Hourglass builds a classic sand timer with sand in the top half, Funnel channels particles through a narrow pipe, and Maze generates random walls for particles to wind through.
Can I save my falling sand creation?
Yes. Use Save Image to download the current canvas as a PNG. It captures the exact state of every particle, wall, and the background at that moment, and the file is generated locally on your device.
Is the falling sand game free, and does it work on mobile?
Yes on both counts. It runs free in any modern desktop or mobile browser with nothing to install. On a phone you also get gyroscope gravity, so tilting the device steers the particles.
Is there a limit to how many particles I can create?
There is no hard cap, but very large numbers of particles can slow the simulation down. A live counter shows the current total, so for smooth motion it helps to keep an eye on it and clear the canvas when it gets crowded.
Is my data private?
Yes. The entire simulation runs in your browser on an HTML5 canvas, and nothing is sent to any server. When you save an image, the file is created locally on your own device.
No comments yet. Be the first to comment!