Two Slider-Crank Mechanism

Input: grey shaft rotating continuously.
A point of pink slider traces the blue curve that is used for moving film in cameras.
Green slider move in the white runway.
Pink slider has prismatic joint with the green slider.
Blue hook fixed to blue connecting rod moves the pink slider in up-down direction.