Rubik's snake is a mechanical puzzle made of 24 isosceles triangular prisms as links. The toy can be twisted to form objects, animals, or geometric shapes.
This Demonstration builds a forward kinematics model of Rubik's snake with 23 degrees of freedom. You can use slider bars for the left and right columns to control the rotation angle of each joint. Joint 0 in the left frame and joint 0 in the right frame are the same joint, but they drive different links.