I started reading Liu CiXin’s Three Body Problem, and was fascinated by the author’s imagination and scientifically and mathematically rigorous storyline. But what caught my attention is the three body orbits that is unpredictable. Turns out that the three body problem is one of the oldest problem in physics, since Newton.
I started digging about this problem, hoping to find some simulation or visualization. I found one medium article that simulates in by ODE integration. To be honest I didn’t grasp the maths entirely, but that was enough for me to visualize some three body orbits.
Let’s see some of the visualizations.
Code is available on my github : https://github.com/chiaqf/3-body-problem