Kangaroo is an interactive physics/constraint solver and Grasshopper plugin for designers
and included within the CAD program Rhino3d.
kangaroo.py
implements a subset of Kangaroo3d in pure Python. It should clarify the principles of Dynamic-Relaxation.