Enter turbo mode. (Shift + click the flag) Press space to create new masses. Press a when drawing the velocity vector to initialize with a velocity of 0. Hold s to stop all masses. Masses are draggable.
I changed it so it declines with just the distance rather than the square thereof.