Skip to content

A simple proximity hover effect that follows the cursor and rotates eyeball according to the position of your mouse.

License

Notifications You must be signed in to change notification settings

VALiUMgithub/ProximityHoverEffect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProximityHoverEffect

About

A simple proximity hover effect that follows the cursor and rotates eyeball according to the position of your mouse.

This is just a fun project to show the proximity hover effect.

Made Using

  • HTML
  • JavaScript
  • P5.js
  • JavaScript trignometric functions

Running This Locally

  • Clone the repos's main branch.
$ git clone -b main https://github.com/VALiUMgithub/ProximityHoverEffect
  • Install the Live Server Extension from VsCode Extensions
  • Click on the Go Live button.

What made this possible?

I was going through PocketBase.io and found out this creepy Goofer following me cursor everywhere. All credits goes to fireship.io for making an awesome tutorial on the same effect. You can checkout the video here.

Screenshot from 2023-01-09 22-02-31

About

A simple proximity hover effect that follows the cursor and rotates eyeball according to the position of your mouse.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages