Skip to content

๐Ÿซง Three-body problem

JavaScriptThree.js

๐ŸŽฏ Numeric simulation of the three-body problem
๐Ÿง  Based on this original code snippet by Rhett Allain
โญ Coding this problem is explained in this video
๐Ÿ A VPython demo is available as well, see three_body.py

Source