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.
- HTML
- JavaScript
- P5.js
- JavaScript trignometric functions
- 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.
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.