Two cranks and yellow conrod create a parallelogram mechanism.
Input: pink crank rotating continuously.
Output: green slider performing linear harmonic oscillation like in sine mechanism. Prismatic joint between the conrod and green slider ensures no offset for force applied to the slider (the offset is considerable in case of sine mechanism).
Blue conrod jointing two eccentrics of the cranks is for overcoming dead positions.