The author created a basic simulation of the three-body problem using Euler’s method and a small time step, resulting in visually interesting outcomes. By translating the polar coordinates of the bodies into RGB values and animating them, they observed abrupt transitions in the orbit with flashing colors. The starting positions were based on periodic orbit F10 from a research paper. The results show that while the overall shape is recognizable, errors in the calculations become noticeable after just two periods when compared to a more advanced ODE solver.
https://github.com/achristmascarl/three_body