To move the blue or green sphere around, click and drag. The red sphere is the center of mass and will update itself automatically.

To give it a push, hold down `shift` while clicking and dragging. You'll see an arrow that shows the push you're about to give. (First click the point where you want to apply the push, then drag backwards to create the magnitude and direction of the push.)

You can also change the sizes of the spheres: Press 'r' to reset.