Show HN: I built an interactive 3D three-body problem simulator in the browser (structuredlabs.github.io)

by amrutha_ 20 comments 60 points
Read article View on HN

20 comments

[−] neondude 60d ago
Feedback : The ui covers more than half my screen on mobile browser
[−] tecoholic 59d ago
+1 Please add a hide button for the UI. I love the animation. Unfortunately can’t see it fully
[−] djmips 59d ago
I set the zoom to 50% in the browser and was able to see well.
[−] efilife 59d ago
OP's account posts LLM generated comments almost exclusively, this is likely not an exception
[−] modeless 60d ago
How many of these are there? https://trisolarchaos.com/
[−] koolala 60d ago
When I hit Random 3d to see a normal three-body they yeet out of existence far far away.
[−] westurner 60d ago
Notes re: Multi-body problems on "Show HN: Browser-based interactive 3D Three-Body problem simulator" (2025) https://news.ycombinator.com/item?id=45981336 which has Velocity Verlet integration method, 4th-order Runge-Kutta (RK4), and Kepler solvers
[−] curseofcasandra 60d ago
The tri-Solarians could have just used this!
[−] qingcharles 60d ago
They did :) That's why they said fuck that and moved to Earth.
[−] hazrmard 60d ago
Very cool! Interesting how the choice of solver affects the solution. Euler doesn't handle misbehaved equations very well. You can see this in the Helix setup where the bodies just fly off.
[−] hermitcrab 60d ago
Random3D seems to always have all the stars heading off to infinity.
[−] vivzkestrel 59d ago
- i have seen a tonne of these

- would be nice if someone at this point actually made a tutorial on how to go about making one from scratch with threejs

[−] ubezon 60d ago
Very cool! nice to be able to export json too
[−] kordlessagain 60d ago
No Weber very sad.
[−] kurthong 64d ago
Had a similar idea and built a prototype for it. :)
[−] kurthong 64d ago
https://solgrbit.d9ng.co.kr/ Had a similar idea and built a prototype for it.
[−] ranger_danger 59d ago
But I thought Terrence Howard solved it already /s
[−] mileszhang 60d ago
[dead]