heavens 0.1.1

N-body simulation of a star cluster using Rust + GPU
Documentation

Constellation

N-body simulation.

Quickstart

Clone the repository and change into the directory:

git clone https://github.com/FreddyWordingham/Constellation
cd Constellation

Compile the code:

cargo run --release -- --radius 1e6 --res 512 --grav-strength 1.0e2 --smoothing-length 1e3 --num-stars 40000 --cmap 000000 000022 000077 AA00AA AA0000 FFFF00 FFFFFF

Render the simulation as an image:

Or directly in the terminal:

Terminal simulation