Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

I built a space travel calculator using Vanilla JavaScript

Details

External ID
46742285
Source
HN
Company
—
Product
I built a space travel calculator using Vanilla JavaScript
Website domain
vercel.app
Launched
Jan. 24, 2026
Cohort
—
Upvotes
54
Upvotes percentile
0.8096179183135704
Tags
—
Fetched at
Sept. 7, 2026, 9:25 p.m.
Updated at
Sept. 7, 2026, 9:25 p.m.

Description

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 angry or if the stars run smooth on your device.

Enrichment

Theme
interactive simulations and creative experiments
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
Not AI
Project type
Hobby / open-source project
Normalized one-liner
space travel calculator tool
Manually corrected
False

Could you build this?

Yes A single-page vanilla JavaScript utility that multiplies elapsed time by cosmic velocity constants and displays it on an odometer.

Discussion

20 comments analyzed.

Competitors mentioned: three.js for star rendering, other cosmic distance calculators

Concerns raised: LLM-generated code and comments, lack of transparency about AI usage, Window resize breaks star background rendering, Logarithmic scale needed to visualize solar and galactic distances together, UI labels unclear/confusing for new users, CPU usage on mobile devices

Feature requests: Fix viewport resize jank with star rendering, Logarithmic scale option for distance visualization, Clearer UI labels/onboarding, Three.js integration for better star effects and performance

Competitors

Other products that read as similar to this one — 127 launches clear the similarity bar, closest 8 shown.

Attention rank: #26 of 128 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 85 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.