An input pink gear, rotating around movable axis of blue slider, engages with a yellow oval gear of green slider. The latter has reciprocating linear motion. Its speed is constant when the engagement takes place on straight portions of the yellow oval gear.
The input gear gets rotation from a double Cardan joint.