Set the link lengths and the crank's position, velocity and acceleration get the velocity and acceleration diagrams.
This html code uses "canvas" element, for which the positive x-axis is rightward (same as we usually draw on graphs),
whereas positive y-axis is downward. Hence, in this system the positive angle is measured from positive x-axis clockwise.
Similarly, positive angular velocity is clockwise and so does the positive angular acceleration.
Input the link lengths
Link 1 (Fixed link)
Link 2 (Input link)
Link 3 (Coupler )
Link 4 (Follower)
Input the quantities related to link 2 (angle, angular velocity and acceleration)