Distance1D

Move the mouse left and right to control the speed and direction of the moving shapes.

Original Processing.org Example: Distance1D