Two cranks and yellow rack create a parallelogram mechanism.
Input: pink crank rotating continuously.
Output: green gear rotating interruptedly.
Blue conrod jointing two eccentrics of the cranks is for overcoming dead positions.
Measure to keep the gear immobile during its dwells is not shown.