gbAnimator - Math
To exactly calculate the position and velocity of a body of masses connected by springs requires the simultaneous solution of multiple equations. However, by using a technique called finite element modeling, a close approximation of the solution can be achieved. That is the approach used by gbAnimator.

For each node in the model the effects of all forces (gravity, wind, and gravitational nodes) are calculated. Added to that are the effects of any link attached to the node. These calculations are made over small time intervals.

The basic equations used are: