The foundation of the rig is to use a nHair Curve Dynamic and the IK Spline Handle. The joint chains are moving by Set Driven Keys.