An immersive 3D simulation of the solar system built using Three.js, featuring realistic planet textures, orbital motion, bloom effects, background music, and an interactive user interface.
** Developer:** Rohit Manna
- Realistic textured planets with orbital motion
- Glowing Sun using
UnrealBloomPasspost-processing - Hover displays planet name and description
- Click opens speed slider to control orbit speed
- Saturn ring created using geometry (no texture needed)
- Full Milky Way galaxy background inside a sphere
- Random starfield using
THREE.Points - Fully responsive layout for all screen sizes
- Mute/unmute background music
- Pause/resume simulation
- Reset camera to original view
- Three.js β WebGL 3D rendering
- JavaScript (ES Modules) β Logic and interactions
- Vite β Build and development server
- HTML/CSS β Interface and styling
- UnrealBloomPass β Bloom glow on the Sun
- OrbitControls β Camera navigation
- EffectComposer β Postprocessing
solar-system/ βββ public/ β βββ textures/ # Planet and background textures β βββ audio/ # Background music file β βββ planet-info.json # Planet descriptions βββ src/ β βββ main.js # Three.js scene logic β βββ style.css # Responsive UI styling βββ index.html # Entry point βββ package.json # npm configuration βββ vite.config.js # Vite build configuration
- Node.js (v16+)
- npm
# 1. Clone the repository
git clone https://github.com/your-username/solar-system.git
cd solar-system
# 2. Install dependencies
npm install
# 3. Start local development server
npm run dev