cam

A shaped wheel part that turns spinning into up-and-down motion.