An interactive planetary-themed landing page built with Three.js, TailwindCSS, and GSAP. Features rotating 3D planets, smooth scroll and swipe transitions, dynamic text animations, and a space-inspired HDRI background. Fully responsive and visually immersive, designed for a modern cosmic experience.
- 🌍 Rotating 3D Planets arranged in a circular orbit using Three.js
- 🌠 HDRI Space Environment with a dynamic starry background
- 🎯 Scroll & Swipe Navigation to cycle between planets smoothly with GSAP
- 🧠 Dynamic Text Animation synced with planet rotation
- 💅 Responsive Layout styled using TailwindCSS
- 📱 Touch Gesture Support for mobile-friendly interaction
- ⚡ Real-time Planet Rotation for immersive viewing experience
- 💡 Bloom post-processing for glowing effects
- Loads planet textures onto spherical meshes arranged in a circular layout
- Sets up a realistic space environment using an HDRI from PolyHaven
- Animates planet rotation and heading transitions using
gsap.toon scroll and swipe - Syncs text transitions with 3D planet rotation for a seamless experience
- Handles responsive resizing to maintain visual fidelity across devices
- Three.js - 3D rendering
- TailwindCSS - Utility-first CSS
- GSAP - Animation
- RGBELoader - HDRI environment maps
- TextureLoader - For applying textures to planet spheres
- EffectComposer – Post-processing pipeline
- UnrealBloomPass – Bloom lighting effects
git clone https://github.com/its-riki-dev/the-planets.git
# Install dependencies
npm install
# Start the development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview- This project is licensed under the MIT License.
