A simple HTML page that shows an image with eyes that rotates following the mouse movement. Then a JS function is activated w/ a listener when mouse moves, taking x & y to calculate the angle between the mouse position and the anchor of each eye (which is the central point of the eyes images).
-
Notifications
You must be signed in to change notification settings - Fork 0
Shirueopseo/moving_eyes
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published