(The applet may take several minutes to load. Once it has, click it to give it input focus.)
Source code: FallingWater ActivitySquares InputHandlers SimWorld SimWorldGrid WorldStuff
Built with Processing
Algorithm details : "Falling Sand"-Style Water Simulation
Controls
- W, A, S, D - Pan around the map
- Mousewheel or +/- - Zoom in and out
- 0 - Reset camera position
- 1 - Select ground
- 2 - Select water
- 3 - Select faucet
- Left mouse button - Paint the map with the selected tile
- Right mouse button - Erase tiles
- R - Randomize the map
- C - Clear the map
- U - Fill the entire map with falling water (warning : may hurt performance)
- P - Pause/unpause the simulation
- Any other key - Advance the simulation by a single step (when in paused mode)