Cellular automaton · six materials

Sand that behaves like sand.

Every cell asks its neighbours what is below them. Sand falls and piles into cones. Water spreads and levels. Fire climbs oil and dies in sand.

Drag to pour · the brush size slider sets how wide
Brush · 14 px Gravity · 1.0
Cells 0
Steps 0
1

sand

Falls straight down; if blocked, tries diagonally. This is why sand makes cones and water does not.

2

water

Falls, then spreads sideways until it finds a level. It displaces sand and carries fire.

3

fire

Burns oil and plant, rises, and is extinguished by water or sand. It needs fuel to exist.