https://github.com/axionbuster/grass
Gravity
https://github.com/axionbuster/grass
Last synced: 4 months ago
JSON representation
Gravity
- Host: GitHub
- URL: https://github.com/axionbuster/grass
- Owner: axionbuster
- Created: 2024-02-04T18:44:33.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-23T05:53:52.000Z (about 1 year ago)
- Last Synced: 2025-01-08T08:43:08.562Z (5 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
[](https://codecov.io/github/axionbuster/grass)

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.