How to play
- Paint by dragging (mouse, pen or touch). Right-drag erases.
- 1–0 G K T E pick a material, − + change the brush.
- S spout mode: sand, liquids and gases become sources that never run dry.
- Space pause, . advance one tick while paused.
- Try it: oil on water and then fire, lava poured into a lake, or acid in a glass beaker.
Under the hood: a 320×200 cellular automaton in typed arrays with lookup tables for material properties. Every cell is updated once per 60 Hz tick and drawn straight into ImageData.