Forces and vector addition

Attraction Repulsion

Drag either of the crosshair cursors or the ball.  The cursors exert a constant  force on  the black ball if they are within 10 units of the ball.  The arrows display the forces due to each cursor and the net force.

The bar graph displays the kinetic energy when the ball is moving.

Script Functions

This example demonstrates a number of new Animator methods.