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 UJ_22. Blocks added to reset everything when green flag is clicked or when the button is clicked to reset it. A background was also added.