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

https://github.com/bradenn/nbodies

A program that simulates the gravitational attraction and physical collisions of n-bodies on a macro scale.
https://github.com/bradenn/nbodies

gravity n-bodies openmp parallel

Last synced: about 2 months ago
JSON representation

A program that simulates the gravitational attraction and physical collisions of n-bodies on a macro scale.

Awesome Lists containing this project

README

          

# N-Bodies Parallel Simulator

This program simulates the gravitational attraction and physical collisions of n-bodies on a macro scale.

### 1024 Random Bodies
![sample1](./docs/Screenshot%202022-12-14%20at%2011.23.19%20AM.png)

### 1728 Bodies from a Cube shape
![sample1](./docs/Screenshot%202022-12-14%20at%2011.28.31%20AM.png)

![Fine Particulate 128 bodies](./docs/img.png)

## Interesting Outputs

![img.png](./docs/interesting/img.png) ![img.png](./docs/interesting/img2.png) ![img.png](./docs/interesting/img3.png)

## Using Barnes-Hut
This iteration can be found in the archived folder, or at bradenn/barnes-hut

![Screen Shot 2021-04-06 at 19.37.50 PM.png](docs%2Fbarns%2FScreen%20Shot%202021-04-06%20at%2019.37.50%20PM.png)
![Screen Shot 2021-04-06 at 19.38.57 PM.png](docs%2Fbarns%2FScreen%20Shot%202021-04-06%20at%2019.38.57%20PM.png)
![Screen Shot 2021-04-06 at 19.39.01 PM.png](docs%2Fbarns%2FScreen%20Shot%202021-04-06%20at%2019.39.01%20PM.png)
![Screen Shot 2021-04-06 at 19.40.00 PM.png](docs%2Fbarns%2FScreen%20Shot%202021-04-06%20at%2019.40.00%20PM.png)
![Screen Shot 2021-04-08 at 13.51.18 PM.png](docs%2Fbarns%2FScreen%20Shot%202021-04-08%20at%2013.51.18%20PM.png)