Dancing Toy
Look at third figure in left when crank is rotates slider moves ( grey color) linearly. Slider is giving rotataion to cam too. Then the cam transmits linearly up-down motion in vertical direction.Joker's head is attached to cam and stomach is attached to slider.And legs are pivoted between slider and lever pin.