Settings

Theme

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

structuredlabs.github.io

60 points by amrutha_ · 21 comments

Reader

14 threads
neondude

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

  • tecoholic

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

efilife

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

modeless

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

koolala

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

westurner

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

The tri-Solarians could have just used this!

hazrmard

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

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

  • Nevermark

    Occasionally two will tight spiral off together.

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

vivzkestrel

- 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

Very cool! nice to be able to export json too

kordlessagain

No Weber very sad.

kurthong

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

kurthong

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

ranger_danger

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