Move your mouse to move the circle. Press the space key to change the way the line goes.
Just used math and pen.