Falling Sand
A falling sand sandbox in 1-bit dither, like the Dither Waves. Pour sand, water, oil and lava, build with stone and wood, and set it on fire. One of the experiments in the Lab.
How it works: the box is a grid of cells, one material each, and every tick each cell looks at its neighbors. Sand and ash fall and pile up, liquids fall and then spread sideways, and steam and smoke rise. Heavier things sink through lighter ones, so sand drops through water and oil floats on top. Fire burns for a moment, lights wood and oil, and turns water into steam; wood smolders as embers and crumbles to ash; lava lights everything, turns to stone in water and slowly melts sand into glass. Each material is drawn as its own dither pattern, so with one ink you can still tell them apart.
Drag to pour, right-click (or the Eraser) to erase. Keys: 1–9
pick a material, 0 the eraser, [ and ] change the
brush, Space pauses and C clears. Add ?ink=33ff66,
&scale=2..6 or &theme=light to the URL to start with
other settings.