Pitch radius of red gear: R1.
Pitch radius of green gear: R2 = 2R1.
The rotation axis of the red gear is eccentric.
Its eccentricity is E1 = 0.125 R1.
Distance between rotation axis of the green gear and the pin for orange slider is E2 = R1.
Length of the yellow connrod L = 3R1
The red gear, the yellow connrod and the red slider create a slider –crank mechanism.
The violet slider has linear motion with approximately uniform speed in the middle of its stroke.
Assembly condition: There is mechanism position when gear rotation axes, pin axes are on the same plane.