Animation of Rocker Camshaft
The diagram below shows an animation of a cam amd follower mechanism. The mechanism incorporates a rocker arm that is in contact with a valve and controls its opening and closing.