Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axionbuster/grass
Gravity
https://github.com/axionbuster/grass
Last synced: about 1 month ago
JSON representation
Gravity
- Host: GitHub
- URL: https://github.com/axionbuster/grass
- Owner: axionbuster
- Created: 2024-02-04T18:44:33.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-23T05:53:52.000Z (11 months ago)
- Last Synced: 2024-03-23T06:36:40.887Z (11 months ago)
- Language: C++
- Homepage: https://axionbuster.github.io/grass/
- Size: 2.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gravity (*n*-body) simulation
[![codecov](https://codecov.io/github/axionbuster/grass/graph/badge.svg?token=313IVQ3QM7)](https://codecov.io/github/axionbuster/grass)
![Screenshot](demo/galaxies.png)
Real-time n-body simulator that works on all major platforms and that which is (hopefully) reasonably, statistically accurate.
*The project contains a fast bottom-up Barnes-Hut tree building routine.*
The demo shown is in the `/demo` directory.
Go to the `demo` folder documentation for build instructions.You may need a C\+\+20-capable compiler (but C\+\+20 modules are not in use).
## Compilers
C\+\+20 support is necessary (sans modules).
* MSVC
* GCC
* LLVM Clang
* Intel ICC## CPU
* x86_64
* Apple ARM## Dependencies
* The CMake script is instructed to download and cache Raylib automatically.
* Raylib itself however requires the following dependencies on Ubuntu:
```
libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev
```CMake is required for building.