Input: pink cam causing two motions of blue and yellow followers.
The blue follower linearly reciprocates with dwell at its highest position.
The yellow follower has planar motion. Green closed curve is locus of a point on it. There are two straight portions because the cam profile contains a circular sector.
Spring maintains the cam contact with the yellow follower.