News for hackers. Stuff that matters.
Re:Physicists Discover a Whopping 13 New Solutions to Three-... by jbochi on Saturday March 09, 2013 @07:59AM (#5348274)
I have added all the solutions to my html5 gravity simulation project here: http://jbochi.github.com/planets/

PS: Some of the configurations are not stable with my code. I'll try Runge-Kutta.

Re:Physicists Discover a Whopping 13 New Solutions to Three-... by gngeal on Saturday March 09, 2013 @08:33AM (#5348342)
Hah, my high school memories - a graphical gravity simulator project for my CS class, leaking energy due to the use of a very naive integrator (the Euler method for ODEs).

You might want to try Stormer-Cowell, it's sort of a gold standard in orbit simulation.

UPDATED: Hmm, now that I think of it, this would probably profit more from a variable step method. Some of the close approaches seem to be really close for a fixed-step integrator.

Re:Physicists Discover a Whopping 13 New Solutions to Three-... by jbochi on Saturday March 09, 2013 @08:52AM (#5348373)
Thanks! I did not know Stormer-Cowell, but googling it, I've found a comparision to DROMO, suggesting that it's even more stable: http://www.congrex.nl/11c01proceedings/Papers/2225317%20Pela...

I'll try both if I find the time :)

Re:Physicists Discover a Whopping 13 New Solutions to Three-... by tikhonj on Saturday March 09, 2013 @07:19PM (#5350115)
Heh, that's exactly what I made with a friend for a physics project in high school. We didn't even consider different methods--we used the Euler method because it's the most intuitive. I didn't even know it had a name!

Good times.

Re:Physicists Discover a Whopping 13 New Solutions to Three-... by jdleesmiller on Saturday March 09, 2013 @11:45AM (#5348841)
This is very helpful, thanks! It's interesting to see how many 'near misses' there are in the new solutions (e.g. butterfly_1) -- a point that wasn't clear to me from the original plots.
Re:Physicists Discover a Whopping 13 New Solutions to Three-... by mturmon on Saturday March 09, 2013 @02:21PM (#5349304)
I don't know much about this domain, but I wonder if these close approaches make it less likely that the associated orbit is stable over long times?
Re:Physicists Discover a Whopping 13 New Solutions to Three-... by theoh on Saturday March 09, 2013 @12:30PM (#5348982)
Nice work. Have you seen the n-body configurations in this AMS article from a few years ago? http://www.ams.org/samplings/feature-column/fcarc-orbits1
Re:Physicists Discover a Whopping 13 New Solutions to Three-... by tinco on Saturday March 09, 2013 @08:30AM (#5348335)
awesome work! If you get all configurations to be stable (maybe decrease the dt in addition to RK?) you can thank the scientists by sending a link to your work, I'll bet they'll be very happy with such pretty renderings.
Re:Physicists Discover a Whopping 13 New Solutions to Three-... by mhartl on Saturday March 09, 2013 @04:21PM (#5349672)
Re:Physicists Discover a Whopping 13 New Solutions to Three-... by Noughmad on Saturday March 09, 2013 @12:41PM (#5349012)
I find it surprising that some configurations are as stable as they are with the simple integration method. At least (if I'm reading this correctly) you calculate positions and velocities at different times.

I really like you simulation.

Re:Physicists Discover a Whopping 13 New Solutions to Three-... by eksith on Saturday March 09, 2013 @08:33AM (#5348340)
That's some awesome work!