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

https://github.com/jsoulier/black_hole_simulation

Black Hole Simulation using SDL3 GPU with compute shaders
https://github.com/jsoulier/black_hole_simulation

3d black-hole black-hole-simulation black-holes compute-shader compute-shaders cpp example examples gpu hlsl sdl sdl3 shaders

Last synced: 5 months ago
JSON representation

Black Hole Simulation using SDL3 GPU with compute shaders

Awesome Lists containing this project

README

          

# Black Hole Simulation

![](image.png)

Black Hole Simulation using SDL3 GPU with compute shaders

### Building

#### Windows

```bash
git clone https://github.com/jsoulier/black_hole_simulation --recurse-submodules
cd black_hole_simulation
mkdir build
cd build
cmake ..
cmake --build . --parallel 8 --config Release
cd bin
./black_hole_simulation.exe
```

#### Linux

```bash
git clone https://github.com/jsoulier/black_hole_simulation --recurse-submodules
cd black_hole_simulation
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --parallel 8
cd bin
./black_hole_simulation
```

### References

- [Youtube Video](https://www.youtube.com/watch?v=8-B6ryuBkCM) by Kavan