An interactive 3D globe that shows the direction of Mars from any location on Earth, at any point in time.
- Custom date/time Mars direction visualization
- Search any location on Earth by name
- 3D Earth globe with day/night shading, atmosphere, and starfield
- Topocentric Mars position with light-travel time correction
- Animate in realtime or timelapse across a custom date range
Enter a location and optionally adjust the date and time. A line is drawn from your chosen point on Earth's surface toward Mars, with a marker where it exits the globe.
npm start
Serves the app at http://localhost:8080. No build step required.
The orbital calculations are approximate — suitable for visualization, not navigation. If you spot a significant error in the math, please open an issue.
See CLAUDE.md for architecture details, module structure, and rendering concepts.