Create a virtual model of the mechanism by dragging the pieces on to the base plate stand. Label the input and output by using the labels. To start over, press r for reset.
Thanks to svtech for the original project CAS_22. Blocks were added to reset position when green flag is clicked, r, is tapped on keyboard, or the reset button is clicked.