Cellular Automaton 2D Liquid Simulator for Unity Article with details on how the algorithm works: http://www.jgallant.com/2d-liquid-simulator-with-cellular-automaton-in-unity/