Skip to content

Dynmi/N-Body-Gravity-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-Body Gravity Simulation

Intro

  • This project originated from the problem below:

img1


Components

  • Physics Engine
  • Visualization
  • Unit testing
  • Interactive user interactivity with simulation(keyboard, mouse, etc)

Directory

.
├── include
│   ├── body.h
│   └── Config.h
├── src
│   ├── Config.c
│   └── Simulation.c
├── inital_state.in
├── README.MD
├── run.sh
└── setting.cfg

Do Something Cool

  • Advanced OpenGL
  • Threading
  • Parallelize with OpenMP
  • More interactive

Do Something interesting

  • Comment Line256 in ./src/Simulation.c , make, and run the binary file. Then freely move mouse, and you will get things below :)

img2

img3