Use the arrow keys to move the ball. Colliding with the blue structure will cause the closest node to be cleared, and the structure to be updated.

Source: https://github.com/NClin/MarchingSquares2D