ahiser1117/Blackhole-Renderer ? reverse-engineered prompt
Reverse engineered prompt
Build me a C based 3D renderer that recreates the black hole look from Interstellar, with a glowing accretion disk and the warped star field around it.
I want it to cast rays from a camera, bend them around the black hole, and stop when they hit the event horizon, the disk, or the background stars. It should render a single frame or a short animation, and save the output images with unique names so I can make a sequence later. If you need to look up current docs online for any GPU or image loading details, go ahead.
Please make it practical and easy to run from the solution file, with sensible default camera and black hole settings, but keep the key values adjustable so I can change the camera position, black hole size, disk thickness, and number of frames. I’d also like the code to be clean enough that I can tweak the math and see the effect without digging through everything.
Are you gonna build this?
make sure you review the code using coderabbit