short attention span
home
luminance
project blogs
documentation
video clips
behind the screen
links
contact us


The Eye. The interactivity is based on the equations:

vx += ((force/distance)*(xDif/distance) / 15);
vy += ((force/distance)*(yDif/distance) / 15);

and
vx -= ((force/distance)*(xDif/distance) / 7);
vy -= ((force/distance)*(yDif/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.

back to Behind the Screen

Last Update Date: March 15, 2005



Creative Commons License
This work is licensed under a Creative Commons License.