Use the mouse to adjust the left and right anchor points, and to move the tram. Look inside to see how this example uses the linear equation. Also see the original project. The idea is, you have two known points, where you know (for instance) the x- and y-position, and use the linear equation to calculate all points in a straight line in between. Art and code by me (@kriblo). Backdrop from Shutterstock. See original project. Learn more: https://en.wikipedia.org/wiki/Linear_equation