Skip to content

Anshler/mars-location-marker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mars Location Marker

An interactive 3D globe that shows the direction of Mars from any location on Earth, at any point in time.

Live demo

Features

  • 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

Usage

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.

Running Locally

npm start

Serves the app at http://localhost:8080. No build step required.

Accuracy

The orbital calculations are approximate — suitable for visualization, not navigation. If you spot a significant error in the math, please open an issue.

For Developers

See CLAUDE.md for architecture details, module structure, and rendering concepts.

Releases

No releases published

Packages

 
 
 

Contributors