The basic 4 bar
linkage. All four bars make up a parallelogram. Two, equal length
orange shafts and the distance between the joints on the red moving
bar and yellow fixed bar being equal. The movement of the top
arrange shaft exactly shadows the movement of the lower orange
bar.
By changing these lengths and the lengths of the other bars different
movements can be achieved.