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
- Host: GitHub
- URL: https://github.com/jsoulier/black_hole_simulation
- Owner: jsoulier
- License: unlicense
- Created: 2025-08-11T03:52:52.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-08-28T03:24:38.000Z (5 months ago)
- Last Synced: 2025-08-28T10:29:16.540Z (5 months ago)
- Topics: 3d, black-hole, black-hole-simulation, black-holes, compute-shader, compute-shaders, cpp, example, examples, gpu, hlsl, sdl, sdl3, shaders
- Language: C++
- Homepage:
- Size: 10.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Black Hole Simulation

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