Calculate by distance from spring center
Calculate by distance from spring center

Instead of anchorPos vs position. Calculating by distance
simplifies the object. Distance is also more useful for non-positioning
scenarios.

gordonbrander/boing