11 ms·
A simple 3-body problem simulator
- seanqu 3y agoA simple 3-body problem simulator, having fun!
- rrauenza 3y agoDo the Euler, 8, or Lagrangian orbits ever turn chaotic after sometime? Is there anything you had to do to keep one of the bodies from being ejected from the system?
- seanqu 3y ago8 figure is only known stable orbit which means it will keep the shape after small disturbances. Euler and Lagrange orbit will keep the shapes but they are not stable. I learned above from : https://www.maths.ed.ac.uk/~ateckent/vacation_reports/Report_Faustino.pdf https://www.maths.ed.ac.uk/~ateckent/vacation_reports/Report...
- seanqu 3y agoaddress: https://quxiaowei.github.io/3-body/ https://quxiaowei.github.io/3-body/
- zamadatix 3y agoWhat's up with the sudden uptick in 3-body problem content? I figure there is some general reference I'm missing since they all seem to be exactly n=3 instead of n>2 and so common lately (here, YouTube, news).
- defrost 3y agoOne of the streaming services has released a TV series called the 3-Body Problem based on a Chinese authors book series that features the name (as a book or series title). The TV series poses a four body problem early on (three suns and a single planet).
- ericcumbee 3y agoWhich is an outstanding book series, and while they took some liberties with the tv show I thought it was outstanding as well.
- rrauenza 3y agoI just found out that around the same time the Chinese also released a 30 episode version as well: https://en.wikipedia.org/wiki/Three-Body https://en.wikipedia.org/wiki/Three-Body
- jwr 3y agoA word of warning, though: the series is dark and extremely depressing. I would not recommend it for people struggling with depression.
- johnchristopher 3y agoHey, it's not Evangelion. Depressed people should be fine.
- yau8edq12i 3y agoDepression is not something that you cure or worsen depending on what TV show you watch.
- _a_a_a_ 3y agoDepends. It can have an effect.
- r0ckarong 3y agoIf an insight changes how you see the world it most definitely can have an effect on your existing condition.
- IncreasePosts 3y agohttps://www.nimh.nih.gov/news/science-news/2019/release-of-13-reasons-why-associated-with-increase-in-youth-suicide-rates https://www.nimh.nih.gov/news/science-news/2019/release-of-1... > Release of “13 Reasons Why” Associated with Increase in Youth Suicide Rates
- fellerts 3y agoIn addition to the other replies, n=3 is also the point at which the system becomes chaotic. AFAIK only a handful stable configurations for three bodies in orbit are known; most initial conditions are difficult (impossible?) to solve for analytically. It is a classic example in chaos theory.
- jprete 3y agoThere are quite a lot of known solutions now (12k): https://arxiv.org/abs/2308.16159 https://arxiv.org/abs/2308.16159
- seanqu 3y agoAFAIK figure-8 is only stable configuration. others config like euler, lagrange configuration is can be easily broke by small disturbances. figure-8 trajectory is very hard to calculate for me. all I can do is to search for a initial status (positon, velocity & relative positions) and let the simulator run by itself.
- andsoitis 3y agoNetflix released a new TV show, 3 Body Problem, based on Liu Cixin's "Remembrance of Earth's Past" novel trilogy. It comes from the creators of Game of Thrones and a top Google search trend for sci fi watching on streaming.
- cnity 3y agoIf you fancy the dopamine, I made a similar simulator with a randomize button which runs at a faster rate: https://crwi.uk/apps/three-body-problem/ https://crwi.uk/apps/three-body-problem/ It doesn't have proper collision detection, so the bodies sometimes spin off at a fast rate (division by a very low number). The code is available in Clojure and IMHO is quite beautiful.
- athorax 3y agoI like this one, it took a couple of tries that didn't result in at least one the objects being yeeted out of the system
- colton_padden 3y agoWould love to have the starting positions as query parameters so that I could share it!
- cnity 3y agoI agree, would be a lot more fun that way to show interesting results. I just got distracted by other projects :)
- franciscop 3y agoI made another one after watching the series as well, in mine you can zoom/pan since the initial positions are random and it kept going out off the screen: https://francisco.io/demo/bodies/ https://francisco.io/demo/bodies/
- sunshinerag 3y agowhat's with the strange symbols on the buttons?
- seanqu 3y agoit’s chinese characters. they means: random, figure-8 orbit, euler orbits, lagrange orbit, pause/go.
- deleted 3y ago[deleted]
- medoc 3y agoFun anecdote, in the mid-1980s, I was bored at work and wrote a similar simulation in Pascal running on a Vax (11-780 if I remember well), and displaying on a tektro (emulation probably). I discovered after a bit that every time I played with it, all other users wondered why the Vax was suddenly frozen (not sure exactly why, probably the serial I/O) ... Oops.