Quaternion calculus and fast animation