Eye See You

Eye See You

Each time you load the page, a randomly placed set of eyes will follow your every mouse movement.

I was intrigued by The Gloob. To create my version I emulated his code for the eye design and eye movements. For more information on how the JQuery eye movement occurs, check out these links: .mousemove.cssevent.pageX

To create the randomly placed eyes I used this code

for(i = 0; i < 11; ++i) {
var eye = new DrawEye("eye"+i.toString(), "pupil"+i.toString(), getRandomArbitrary(0,800), getRandomArbitrary(0,500), getRandomArbitrary(5,50))
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s