Settings

Theme

Show HN: I built an interactive 3D three-body problem simulator in the browser

structuredlabs.github.io

60 points by amrutha_ 2 months ago · 21 comments

Reader

neondude 2 months ago

Feedback : The ui covers more than half my screen on mobile browser

  • tecoholic 2 months ago

    +1 Please add a hide button for the UI. I love the animation. Unfortunately can’t see it fully

efilife 2 months ago

OP's account posts LLM generated comments almost exclusively, this is likely not an exception

modeless 2 months ago

How many of these are there? https://trisolarchaos.com/

koolala 2 months ago

When I hit Random 3d to see a normal three-body they yeet out of existence far far away.

westurner 2 months 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 2 months ago

The tri-Solarians could have just used this!

hazrmard 2 months 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 2 months ago

Random3D seems to always have all the stars heading off to infinity.

  • Nevermark 2 months ago

    Occasionally two will tight spiral off together.

    (Experimentally 5/250, including 1 cool wide, almost flat spiral.)

vivzkestrel 2 months 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 2 months ago

Very cool! nice to be able to export json too

kordlessagain 2 months ago

No Weber very sad.

kurthong 2 months ago

Had a similar idea and built a prototype for it. :)

kurthong 2 months ago

https://solgrbit.d9ng.co.kr/ Had a similar idea and built a prototype for it.

ranger_danger 2 months ago

But I thought Terrence Howard solved it already /s

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection