Been studying the exposure of a concept lunar observatory to galactic sources. Spheres in 2D hurt my brain, so I have thought of this comfy viz. Portrays Moon, Earth, Sun and the field of view of an hypothetic observatory. The observatory parameter (selenographic coordinates, attitude, field of view) are adjustable. Moon, Earth, Sun will do their things. Please don't take this as astronomically accurate because it isn't.
As a template for the project I used a generic VITE-based one made by Bruno Simon for 3js journey. Check it out if you are interested in 3js, it's GREAT, and Bruno is a true artist and a human of rare kindness.
I am redistributing maps and images from NASA CGI Moon Kit, NASA Deep Star Maps 2020 and NASA blue marble collection. Please NASA don't sue me, I cannot find the proper licenses 🥶.
You need Node.js. Then move to the project's folder and call:
# Install dependencies (only the first time)
npm install
# Run the local server at localhost:8080
npm run dev
You should get the visualization running in your favourite browser.