![]() |
![]() |
home |
The Eye. The interactivity is based on the equations: vx += ((force/distance)*(xDif/distance) / 15);and vx -= ((force/distance)*(xDif/distance) / 7);Having the cursor near the eye tends to pull it toward the cursor, but touching the eye will tend to send it shooting away. There is also code to make it "fall" away from the edges of the stage, mostly to keep it from getting stuck out there by an overambitious user in the installation. |
Last Update Date: March 15, 2005
![]() This work is licensed under a Creative Commons License. |
|