Ratchet Mechanism

Input is pink crank of constant velocity.
Green rocker (ratchet wheel of internal teeth) turns an angle of around three teeth in each revolution of the crank. But the yellow disk rotates at different angles because of its eccentrical rotary axis.