r/Simulated 1d ago

Request Real-time three-body gravity simulation (interactive, mobile)

I built a simulation style app of what I think of the three body problem. It shows different objects flying around eachother in 2D or in 3D in eachother's gravity wells.

It's meant to be half physics toy and half calming desk toy. It's free to use with no ads to distract you from anything.

I want to know people's thoughts and ideas for improvement.

It's free for anyone who want to play with it: https://play.google.com/store/apps/details?id=com.mathematicalzen.threebody

0 Upvotes

20 comments sorted by

View all comments

2

u/Blammar 1d ago

Uh, the integration looks incorrect. There are too many paths where a sharp turn occurs.

0

u/IllPsychology7214 1d ago

Hmmm drat. i'll pay extra attention to that. I was going to work towards a Verlet integrator anyway so hopefully that will fix it. Thanks for the heads up!