Marching Squares are used to simulate the organic interaction between different n-dimensional objects (observe that they simulate mercury drops when they move)
Super cool algorithm and visualization! I'd love to see what happens if you apply gravity to each of the balls (be it all downward or towards each other).