Arctangent

Move the mouse to change the direction of the eyes. The atan2() function computes the angle from each eye to the cursor. Created 1 September 2002

Original Processing.org Example: Arctangent