by adding the code mouseX and mouseY we can manipulate the movement of the circles with the mouse. we set the center of the screen with the code (mouseX+400) and we divide into 20 so we can have the center of the middle eye. the same with the small circle,(mouseX+400) / 10. for the y axis is the sameMonday, September 28, 2009
HW3-1, Alejandro Estevez
by adding the code mouseX and mouseY we can manipulate the movement of the circles with the mouse. we set the center of the screen with the code (mouseX+400) and we divide into 20 so we can have the center of the middle eye. the same with the small circle,(mouseX+400) / 10. for the y axis is the same
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment