This is a cellular-automation-based fluid simulation. It was based on this article
An executable jar file is available under the out/artifacts/ folder.
- Left click to add water in a cell
- Right click on a normal cell to place walls
- Right click on a wall to remove walls
r
to clear everything
- Press
space
to launch the simulation - Press any other key (not
r
norspace
) to go forward only one step