Geometry Expressions

Crank Slider App

We create an app which illustrates the motion of the crank/slider mechanism.

We attach a timer to one of the variables in order to animate the model.

First we draw the crank slider, constrain the lengths of both links, and the angle between the crank and the x-axis.

Animation: drawing the crank slider and constraining its link lengths and crank angle

Now we create a point and a trace.

Animation: creating a point and its trace

When we create the app, we specify that the angle input is attached to a timer.

Animation: creating the app, with the angle input attached to a timer

Here is the resulting app.