Skip to content

riki-k-dev/the-planets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌎 The Planets

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.

HomeSS


✨ Features

  • 🌍 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

🧠 How It Works

  • 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.to on scroll and swipe
  • Syncs text transitions with 3D planet rotation for a seamless experience
  • Handles responsive resizing to maintain visual fidelity across devices

🛠️ Built With


Clone the repo

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

📄 License

  • This project is licensed under the MIT License.

About

Interactive planetary landing page using Three.js, TailwindCSS, and GSAP. Features 3D rotating planets, scroll/swipe transitions, animated text, and an HDRI space background. Fully responsive and immersive.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages