The cam is attached to a shaft, like this, and we can now use a ... Round, oval, triangle, and even snail-shaped. Each cam will create a slightly different type of reciprocating motion.