Move the mouse around
This computes the angle between the positive x axis and the line segment extending from the origin to the mouse with a bit of trigonometry and if statements.