← Sand
Full screen

Playback not started.

Project

This project is a cellular automata that simulates falling sand. The falling is deterministic: each sand particle will fall to the same place each time the program is run. Some iterations eventually stop, some continue indefinitely.

The fun is that the project is implemented on a fragment shader. There is no array of grains of sand. Each pixel decides whether a grain of sand from a neighboring pixel will end up in it or not. This logic required a lot of banging my head against the wall, because the slightest mistake caused sand to disappear into nowhere or appear out of nothing and clutter up the entire space.

0…9 — set speed
space — pause
s — save picture
drag over — add more sand
shift+drag — erase

Traits

Ground slope
No slope51 of 128 indexed NFTs · 40%
Resolution
256110 of 128 indexed NFTs · 86%
Colors
Gradient21 of 128 indexed NFTs · 16%
Initial sand shape
Noise34 of 128 indexed NFTs · 27%
Ground shape
Sleek45 of 128 indexed NFTs · 35%

Price history

DateEventPriceMarket
2023-08-04Sale39.69 tezfxhash marketplace v2
2023-08-04Mint13 tezfxhash issuer fx(params)