- Responsive 3D sphere rendered with Three.js
- Interactive camera controls using OrbitControls
- Smooth animations powered by GSAP
- Color-changing sphere based on mouse interaction
-
Clone the repository
-
Install dependencies:
-
Run the development server:
-
Open
http://localhost:3000
in your browser
- Vite
- Three.js
- GSAP (GreenSock Animation Platform)
main.js
: Core application logicindex.html
: HTML structure and entry pointstyle.css
: Custom styles
Inspired by this tutorial.