Converting Rotation to Rotary and Linear Reciprocating Motion
Input: green gear.
Orange gear rotates without axial motion around pink stationary shaft. Grey cylinder has a red ball that contacts yellow swashdisk, inclined angle of which is controled by violet screw. So the cylinder rotates together with the orange gear thanks to two orange pins and linearly reciprocates due to the yellow swashdisk.
Blue spring maintains contact of the yellow swashdisk with the red ball and the violet screw.
The mechanism is used for printing machines.