Pixilab
Home › Companies › Show HN launch › I built a space travel calculator using Vanilla JavaScript

I built a space travel calculator using Vanilla JavaScript

Show HN: I built a space travel calculator using Vanilla JavaScript

I built a space travel calculator using Vanilla JavaScript is a business in show hn launch.

Profile

I built this because measuring my age in years felt boring—I wanted to see the kilometers.The first version only used Earth's orbital speed (~30km/s), but the number moved too slowly. To get the "existential dread" feeling, I switched to using the Milky Way's velocity relative to the CMB (~600km/s). The math takes some liberties (using scalar sum instead of vector) to make the speed feel "fast," but it gets the point across.Under the hood, it's a single HTML file with zero dependencies. No React, no build step. The main challenge was the canvas starfield—I had to pre-allocate the star objects to stop the garbage collector from causing stutters on mobile.Let me know if the physics makes you a

As a business in show hn launch, I built a space travel calculator using Vanilla JavaScript is listed here with the public details available about it.

Directory data places it at the Show HN launch stage.

SectorShow HN launch
StageShow HN launch

Website: cosmic-odometer.vercel.app

Browse related

Emails and contact routes are reserved for registered members.
Create a free account