Gravity
Interactive solar-system simulator, from Newton to Einstein
Details
- External ID
- 48459837
- Source
- HN
- Company
- —
- Product
- Gravity
- Website domain
- github.io
- Launched
- June 9, 2026
- Cohort
- —
- Upvotes
- 217
- Upvotes percentile
- 0.9665300546448088
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
Just for fun and self education, I've built this over a weekend to teach myself why orbits exist, not just show planets going around. Something that was never clearly explain to me in school. It opens with a guided tour that builds the idea up step by step: two bodies and the equal/opposite force, inertia (the Sun is removed and Earth just drifts straight), then "an orbit is falling and continuously missing," cosmic velocities with a little rocket, Voyager 1 & 2's real gravity assists (the clock runs the actual 1977–1989 dates so the planets orbit into their grand-tour alignment and the slingshots line up), and it ends on Einstein — gravity as curved spacetime, the classic rubber-sheet well. What's real: every body uses its real radius/mass and J2000 orbital elements; positions come from solving Kepler's equation each frame. You can toggle to an N-body mode (symplectic leapfrog) that shows live energy drift (~1e-6%) so you can see the integrator is honest. The only thing faked is scale — at true scale you can't see anything — so there's a toggle between true scale and a log-remapped "visual" scale, with physics always running in real AU. Tech: TypeScript + Three.js + Vite, fully client-side, no backend, works offline (surface textures are generated procedurally from value-noise; only Earth uses a real image). Source: https://github.com/qunabu/GravityHappy to answer questions — and feedback on the physics or the explanations is very welcome. This project might be totally inaccurate in terms of real physics, this is how i do understand this on my own - i'm happy to confront this with reality
Enrichment
- Theme
- interactive simulations and creative experiments
- Vertical
- Education
- Function
- Dev tools
- Audience
- B2C
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- solar system physics simulator
- Manually corrected
- False
Could you build this?
Yes An educational N-body and orbital simulation in the browser using HTML5 Canvas or Three.js can easily be generated and guided step-by-step with an AI assistant.
Discussion
20 comments analyzed.
Competitors mentioned: ElevenLabs
Concerns raised: AI narrator struggles with reading numbers and mathematical notation, Planet selection sometimes shows wrong planet, Performance impact on older devices from planet texture generation, Moon orbit physics not accurate to real subtle motion around Earth, Moon not tidally locked to Earth in visualization
Feature requests: More camera freedom when exploring individual planets, Show Earth rotation during planet formation rather than static image, Keep Next/Back buttons at fixed locations instead of moving, Model satellite launches and Artemis missions, Include black holes at galaxy centers
Competitors
Other products that read as similar to this one — 168 launches clear the similarity bar, closest 8 shown.
Attention rank: #11 of 169 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 221 days after the earliest competitor.
- Rocket Launch and Orbit Simulator · hn · 2026-01-09 · 166 upvotes · similarity 0.64
- I built a space travel calculator using Vanilla JavaScript · hn · 2026-01-24 · 54 upvotes · similarity 0.59
- Newton's Orchard · hn · 2026-09-01 · 32 upvotes · similarity 0.58
- farseer.space · hn · 2026-09-15 · 11 upvotes · similarity 0.58
- SOLAR · ph · 2026-09-25 · 2 upvotes · similarity 0.57
- A solar system simulation in the browser · hn · 2025-12-29 · 13 upvotes · similarity 0.57
- A gravity simulator where forces propagate at the speed of light · hn · 2026-09-03 · 6 upvotes · similarity 0.56
- Meteor shower, planet alignment, eclipse kit · hn · 2026-08-12 · 11 upvotes · similarity 0.52
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.