top | item 47169634

Show HN: A Vanilla JavaScript 3D engine v2 to track lifetime space travel

1 points| captainnemo729 | 3 days ago |cosmicodometer.space

A little while ago I built a tool to calculate how far you've traveled through space since the exact second you were born. The math was relatively simple (Earth's spin + Solar orbit + Galactic drift), but the feedback I got here inspired me to rewrite the visual engine and turn it into a proper deep-space dashboard.

Here is what’s new under the hood:

1. Vanilla JS 3D Engine: I built a custom Three.js simulation that renders your exact orbital alignment on your birth date and tracks it to the present. 2. Live Telemetry: It now actively tracks the real-time Keplerian orbital positions of Voyager 1, Voyager 2, and Pluto, plus the ISS orbiting the Earth at its true 51.6-degree inclination. 3. Cosmic Milestones: I added a "Party Predictor" to calculate the exact date you will cross 1 Light Year or 1 Trillion miles of total travel distance, plus a multiplayer tool to compare flight paths with friends. 4. 100% Local / Privacy First: All the date/time math and tracking is computed strictly client-side. Nothing is sent to a server.

I’m currently running this entirely on the client side to keep it lightning-fast. I’d love to hear your thoughts on the frontend performance, the Keplerian math, or any edge cases I might have missed in the 3D rendering.

discuss

order

No comments yet.