Implementation of the three body problem using the Macroquad game engine.
Online demo - It precalculates the simulation, so it will take a while before the animation starts. Once it starts, the animation will loop back and forth forever over the simulation.
Based on the timClicks version.