A super fast space simulator that runs on your GPU. It shows how a black hole bends light (gravity!) in real time.
- Mouse Move: Look around.
- Scroll: Zoom in and out.
- G Key: Turn the gravity/curved light ON or OFF.
- Right Click: Hold this to make objects fall into the black hole.
- Keep all files in one folder (the .exe, .comp, .vert, .frag, and .dll).
- Double click
bh_raytrace.exeor any of the other simulations and have fun playing around! - If it feels slow, don't worry! It's doing a lot of math.
If you have MSYS2/Clang installed, just open a terminal in this folder and type:
make or in powershell mingw32-make
All files are compatible on Windows 11, Linux and MacOS. It should run on most weak CPUs/GPUs.