Lurker News
Hello HN! Sharing a recent side project of mine, the Atlas of Space, that I built out to explore the Solar System.

As a long-time space nerd, I realized recently that I didn't have a good intuition on the scale, speed, and relative orientation of the celestial bodies around us. So over the break I built out a kind of spatial Wikipedia to click around and learn about planets, moons, asteroids, and other bodies orbiting the Sun.
The physics is all simulated in the browser using simple Newtonian mechanics. There's a lot left to do from here, including modeling objects in non-Keplerian orbits and replaying different spacecraft missions.
Hope you have fun clicking around, and curious to hear what I should improve next!

Comments (124) 63 threads

Earlier comments
javierluraschi#
I would love to be able to zoom out beyond solar system and grasp a sense of how far we are from other stars and our place in our galaxy, etc.
pieix#
Great suggestion, just added it. Thanks for teaching me about FarFarOut.
deveesh_shetty1 reply#
It works seamless in mobile, that's just mind-blowing!

Curious to know, - Is the Source code open source? - If not what is the stack you used to build this.

pieix1 reply#
Yep, all open source: https://github.com/gordonhart/atlasof.space

It's a static React app using Three.js for rendering and a few backend functions deployed on Netlify. It's been a pretty great experience deploying to Netlify, though I didn't expect the attention from HN to go way over my 100GB of free tier bandwidth!

deveesh_shetty#
That's pretty cool. Hopefully you were not billed too much

Will take some time to dig in the code, always wanted to try out threejs.
Thank you

infogulch2 replies#
What is the denominator in dt? 60 ticks per second? Definitely not per second. It should be mentioned somewhere, like a tooltip.
pieix1 reply#
Good callout — it's the animation rate for your browser, which is driven by your display and conditions on your machine (I've seen between 30-120Hz on my Macbook depending on the monitor used and device power status).
infogulch#
Would it be crazy to suggest scaling the speed by the time taken to calculate the previous tick (moving average?) to make the dt number a consistent irl rate? Say the user sets it to 8h and their computer can run at 30tps, then set the per-tick rate to 8h/30; if their computer can run at 60tps then set the rate to 8h/60, etc.
seanw444#
I was just gonna say, 8 hours per second does not match up with t advancing by 3 weeks per second.

Load more comments