Particle Forge / Falling sand

The Beach

← Particle Forge
FPS 60
PARTICLES 0

Hold to pour sand  ยท  C clears the grid

Loading beach

How it works

The beach photo is a backdrop; the sand lives on a 10-pixel grid. While you hold the pointer, five grains try to enter the cell under it each frame. Grain colors are picked from a hundred precomputed variants of yellow, slightly darkened on red and green. Each frame scans rows from the bottom up in a shuffled column order: a grain falls straight down when it can, otherwise it slides diagonally into an empty cell, choosing left or right at even odds. Edges count as occupied, so piles build natural slopes. The pour sound starts on press, switches into its looping section after 1.5 seconds, and fades out over half a second when you release.