Skip to content

pinebit/golang-3-body-problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A real-time 3D visualization of the three-body gravitational problem with trailing effects and a starfield background.

What it is

Three celestial bodies gravitationally attracting each other, creating chaotic orbital patterns. The simulation shows motion trails and automatically resets when bodies fly apart. Simulation

A beautiful real-time 3D visualization of the chaotic three-body gravitational problem with elegant trailing effects and a dynamic starfield background.

alt text

Requirements

  • Go 1.22+
  • OpenGL 4.1 support
  • macOS: brew install glfw

How to run

go run .

Close the window to exit.

License

This is a demonstration project for educational purposes.

Credits

Built with:

About

3-Body Problem Simulation with OpenGL

Resources

Stars

Watchers

Forks

Languages