Setups other learners found interesting in Three Body Problem. Try one, then tweak it.
Three masses attract each other through Newtonian gravity. Unlike the two-body problem, this system has no general closed-form solution: the motion is chaotic, and tiny changes in the starting positions or velocities lead to completely different futures. The simulation integrates the equations numerically with small sub-steps to stay accurate through close approaches.
Read the full theory: The Three-Body Problem: The Equation That Broke Physics →