Converting linear reciprocating motion into continuous rotation.
Input: pink slider.
Output: orange ratchet wheel.
Springs for forcing the pawls towards the ratchet wheel are not shown.
Both go and back motions of the pink slider are useful. Violet pawl pushes and green pawl pulls the wheel.