An open API service indexing awesome lists of open source software.

https://github.com/globalpolicy/3bodyproblem

Simulation of the Three-body problem using JavaScript
https://github.com/globalpolicy/3bodyproblem

three-body-problem

Last synced: 8 months ago
JSON representation

Simulation of the Three-body problem using JavaScript

Awesome Lists containing this project

README

          

# 3bodyproblem
Simulation of the Three-body problem using JavaScript


This is a simple program that uses Newton's laws for simulating the trajectories of a given number of bodies interacting gravitationally. Uses the p5.js JavaScript library. It is quite fun to watch the ensuing chaos; if the masses don't get ejected off their orbits that is.



Check out the website for live demo