Pin Gear Drive

The orange pinion is input. Its shaft has an end sliding in the closed circular slot of the yellow pin wheel. Because of meshing force the cyan slider carrying the orange pinion reciprocates. The yellow pin wheel oscillates with constant speed.
The rotation from a stationary source (the green pulley) is transmitted to the orange pinion through the Oldham coupling.