This project is a test environment for experimenting with 3D graphics using JavaScript.
- Three.js:
- React Three Fiber:
- Framer Motion:
- Vite:
The eye follows the mouse cursor using useSpring and useMotionValue from Framer Motion. These hooks create smooth animations for the eye's rotation based on the mouse position.
The grainy background effect is achieved using a custom shader. The shader is applied to a large plane positioned behind the eye model.