An interactive 3D solar system simulation built with React, Three.js, and React Three Fiber that provides an educational and visually stunning exploration of our celestial neighborhood.
-
Accurate Solar System Model
- Realistic planet orbits with proper Keplerian motion
- Accurate size, rotation and orbital speed ratios
- Detailed textures for all celestial bodies
- Physically correct axial tilts and orbital eccentricity
-
Complete Celestial Catalog
- All planets of the Solar System
- Major moons (Earth's Moon, Jupiter's Galilean moons, Saturn's Titan)
- Dwarf planets (Pluto)
- Asteroid Belt between Mars and Jupiter
- Kuiper Belt and Oort Cloud
- Saturn's rings with realistic tilt and orientation
-
Spacecraft and Human Elements
- International Space Station (ISS) in Low Earth Orbit
- James Webb Space Telescope at L2
- Realistic spacecraft models with proper trajectories
-
Interactive Experience
- Click on any celestial body to focus the camera
- Detailed educational information panel for each object
- Time controls to speed up, slow down, or pause the simulation
- Camera controls for free navigation
-
Educational Value
- Scientific data and facts about each celestial body
- Accurate orbital mechanics and physical properties
- Visual representation of orbital dynamics
-
Frontend:
- React 18
- TypeScript
- Vite for fast development and optimal builds
- TailwindCSS for styling
-
3D Rendering:
- Three.js
- React Three Fiber
- React Three Drei for enhanced components
-
State Management:
- Zustand for global state
- Node.js (v16+)
- npm or yarn
- Clone the repository
git clone https://github.com/gurr-i/CelestialNavigator.git
cd CelestialNavigator- Install dependencies
npm install
# or with yarn
yarn install- Run the development server
npm run dev
# or with yarn
yarn dev- Open your browser and navigate to
http://localhost:3000
npm run build
# or with yarn
yarn build-
Navigation:
- Left-click and drag to rotate the view
- Right-click and drag to pan the camera
- Scroll to zoom in and out
- Click on any celestial body to focus the camera on it
-
Controls:
- Use the time controls in the bottom bar to adjust simulation speed
- The information panel opens when you select a celestial body
- Reset the view with the Home button in the top right
- Mobile support with touch controls
- Mission planning and spacecraft orbit visualization
- Virtual reality support
- Solar system formation simulation
- Exoplanet exploration mode
This project is deployed on GitHub Pages at: https://gurr-i.github.io/CelestialNavigator/
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Textures from Solar System Scope
- Planetary data from NASA
- 3D models from NASA 3D Resources
- Inspired by Solar System WebGL Demo
