This applet shows the motion of two bodies with attractive gravity force. Both have the same initial velocities. Varying the masses you can see movement of the center of mass. You can show the motion in absolute and relative coordinates.
.cdf Two body motion
.nb Two body motion
Documentation