Yellow base and yellow gear are stationary.
Green slider has prismatic joint with glass carrier of orange satellite gear.
The green slider has helical joint with the orange gear via red pin fixed to the orange gear.
When the carrier rotates, the slider moves in and out. Its stroke length S can be large, subject to the lead L of helical slots.
S = (α/360)(Zy/Zo)L
α: rotary angle of the carrier (deg)
Zy and Zo: tooth numbers of yellow and orange gears.