@lisyarus Scroll down! There's a description of the axial forces, dihedral forces, and torsional forces that make it work. Gradient descent is a *very* inefficient method, but it's plenty good enough for interactive use. I was very pleased the torsional force derivation worked out.