Slider-Crank Mechanism of Snap Motion

Input: pink crank.
Green disk is idly mounted on the pink crank.
The interaction between two orange pins fixed to the crank and two slots of the disk under pulling force of red spring causes the snap action.