Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/axionbuster/grass

Gravity
https://github.com/axionbuster/grass

Last synced: about 1 month ago
JSON representation

Gravity

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.