Qianyv-Li8262/Black-Hole-Render ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple black hole renderer that looks good enough for a demo, but stays lightweight and easy to run.
I want two modes, one that renders frames offline into an output folder, and one that gives a realtime preview in a window. It should use the GPU for the heavy work, and it should be okay if it is not perfectly optimized yet. Please keep the setup simple so someone can run the offline version with just a Python environment and the right GPU driver, and only need extra graphics support for the realtime preview.
Make the main settings easy to change in one config file, like image size, quality, bloom, disk look, and any other obvious visual tweaks. If you need to check current docs for any GPU or windowing details, go ahead and look them up online. Also make sure the project can generate or use any lookup tables or precomputed data it needs, so the renderer can run without too much manual setup.
Are you gonna build this?
make sure you review the code using coderabbit