Input: pink slider reciprocating. It has a pin that moves in the oblique straight groove at back of horizontal yellow slider.
Output: blue slider. It has a pin that moves in the
front groove the yellow slider. The front groove shape controls the output motion.