Bevel Gear and Slider Mechanism

Input is pink gear of constant velocity.
Yellow bars have spherical joints with green gears an cylindrical joints with violet slider.
The slider linearly reciprocates.