Skip to content

higgyone/3bp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3 body problem

This is renders the three body problem in 2D space based on [1].

This is finished for me and as far as I wanted to take it by getting the three bodies working in 2D space. My main motivation for this was to understand the equations and get them to work but not to have a polished all singing, all dancing user interface.

Code was written in VS2015 and if you want to play with it you need to set the body masses, initial positions and velocities in the constuctor, recompile and run it. I never got round to doing it on the screen and dynamically changing the bodies as I achieved my goal of getting the equations working.

[1] Equations and model are based on https://msdn.microsoft.com/en-us/library/dn528554(v=vs.85).aspx

About

3 body problem in 2D space

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages