A realistic space travel and orbital mechanics simulator built with HTML5 Canvas and JavaScript.
- Realistic Orbital Mechanics: Based on Kepler's laws with accurate gravitational physics
- Auto-Pilot System: Automatically navigate to target planets
- Stable Orbit Mode: Engage in stable circular orbits around celestial bodies using relative coordinate systems
- Solar System Exploration: Navigate through our solar system including:
- Inner planets: Mercury, Venus, Earth (with Moon), Mars
- Outer planets: Jupiter (with Io), Saturn, Uranus, Neptune, Pluto
- Arrow Keys / WASD: Rotate and thrust
- Space: Main thruster
- Shift: Cruise mode (high-speed travel)
- X: Emergency stop / Parking brake
- Click on planet: Engage auto-pilot or orbit
- Mouse Wheel / -/=: Zoom in/out
- 0: Reset zoom
- Click on planet: Navigate to target
- Open
index.htmlin a modern web browser - Use controls to navigate your spacecraft
- Click on planets to automatically travel to them
- Engage orbit mode when you arrive at your destination
The game uses realistic orbital mechanics:
- Gravitational force: F = GM/r²
- Orbital velocity: v = √(GM/r)
- Angular velocity: ω = √(GM/r³)
- HTML5 Canvas
- Vanilla JavaScript
- CSS3
MIT