🌐 Live Demo — Open in your browser, no install needed.
An interactive 3D solar system simulation built with Three.js. Explore the Sun, all 8 planets, their moons, asteroids, and real space stations — right in your browser.
- 3D Solar System — All 8 planets orbiting the Sun with accurate relative sizes, distances, and orbital speeds
- Planet Info Panels — Click any planet for real stats: diameter, temperature, gravity, atmosphere, and description
- Search — Find any planet or station instantly
- Space Stations — ISS, Tiangong, Hubble, James Webb, and Lunar Gateway orbiting in real-time
- Moons — Earth's Moon, Jupiter's Galilean moons, Saturn's Titan/Enceladus/Mimas
- Asteroid Belt & Kuiper Belt — Thousands of procedurally generated objects
- Nebula Background — Atmospheric deep-space backdrop with starfield
- Camera Controls — Free roam with orbit controls, click-to-follow any body
- Time Controls — Play, pause, speed up (2×, 5×, 10×), slow down, or reverse time
- Orbit Paths — Toggle orbit lines on/off
- Labels — Toggle planet/station name labels
- Minimap — Bottom-right overhead view of the entire system
Just open index.html in a browser. No build step, no dependencies to install.
Or run locally:
# Clone it
git clone https://github.com/Marrowleaf/solar-system.git
cd solar-system
# Open it
open index.html # macOS
xdg-open index.html # Linux
start index.html # WindowsOr use a local server:
python -m http.server 8000 # Python
npx serve . # Node.js| Control | Action |
|---|---|
| Left click + drag | Orbit camera |
| Right click + drag | Pan camera |
| Scroll wheel | Zoom in/out |
| Click a planet | Show info panel & follow |
| Search bar | Find any body by name |
| Bottom controls | Play/pause, speed, toggle orbits/labels/stations |
Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune — each with real-world stats, descriptions, and accurate axial tilts.
Luna (Earth), Io/Europa/Ganymede/Callisto (Jupiter), Titan/Enceladus/Mimas (Saturn).
- ISS — Orbiting Earth at 408 km
- Tiangong — China's space station
- Hubble — The legendary space telescope
- James Webb — At the L2 Lagrange point
- Lunar Gateway — Planned station orbiting the Moon
- Sun glow and lens flare
- Saturn and Uranus ring systems
- Procedural asteroid belt (between Mars & Jupiter)
- Kuiper belt (beyond Neptune)
- Colour-variant starfield (12,000 stars with warm/blue/white tones)
- Nebula background clouds
This project now includes a Google-style DESIGN.md file named Helios Atlas. It defines the colour tokens, typography, rounded shapes, spacing, and component rules used by the glass HUD, search, info panel, controls, and minimap.
Generated token exports are included as:
tailwind.theme.jsontokens.json
Validate the design system with:
npx -y @google/design.md lint DESIGN.md- Three.js — WebGL 3D rendering (loaded via CDN)
- Pure HTML/CSS/JS — No build tools, no frameworks, no bundling
- Single file architecture —
index.html+main.js= the entire app
MIT — see LICENSE for details.
Built by Marrowleaf 🌌




