A cinematic space exploration experience built with pure HTML, CSS, and JavaScript. Visualizes the Solar System and the Observable Universe directly in your browser. No installation or build step required.
Live Demo: https://kunaldasx.github.io/space-simulator/
index.htmlcontains the page structure and scene controls.styles.csscontains all layout, visual, and animation styles.constants.jscontains the astronomy data for planets and universe objects.app.jscontains scene navigation, rendering, gestures, and interaction logic.
- Launch — Watch your shuttle lift off from Earth
- Orbit — Float in space with Earth behind you
- Solar System — All 8 planets orbiting the Sun; tap any planet for details
- Observable Universe — Zoom out to the full 93-billion-light-year cosmos
- Observatory-style HUD with scene status and a live discovery count.
- Search across planets, the Sun, galaxies, clusters, voids, and cosmic structures.
- Direct target focusing, random discovery, Earth shortcut, mouse/touch pan, and pinch or button zoom.
- Responsive detail views with keyboard-friendly controls and Escape-to-close behavior.
Simply open index.html in any modern browser. No dependencies, no setup.
git clone https://github.com/kunaldasx/space-simulator.git
cd space-simulator
open index.html- HTML5
- CSS3 animations
- Vanilla JavaScript
© 2026 Kunal Das.
🔗 LinkedIn ·


