
I've always been fascinated by General Relativity, so I decided to see if I could simulate it myself. Rather than using visual effects software, I built a custom ray tracer from scratch that numerically integrates light paths around a Black Hole.
Details:
- 4th order Runge Kutta (RK4) to solve for light deflection.
- Accounts for the Einstein Ring, and relativistic lensing of the accretion disk.
- GPU accelerated using CUDA, every pixel is a parallelized path through curved spacetime.
- Using NASA Scientific Visualization Studio (SVS) data for the background stars.
🚀 Source Code (GPL v3): https://github.com/anwoy/MyCudaProject
🎥 Technical Breakdown: https://youtu.be/BUqQJPbZieQ
by AdventurousWasabi874