Hi,

I’ve been working on an interactive black hole visualization that runs entirely in the browser using WebGL. It includes relativistic lensing, accretion flow/disk models, jet models, Doppler and gravitational shift effects, and more. It has loads of parameters you can change in real time. For information, it even runs on a phone in real time, although the quality will be, of course, decreased compared to a desktop.

I tried to be careful about the physics scope:
The Schwarzschild side is the strongest physically, but not every part is exact. Some spin-related behavior, accretion/jet modeling, and several rendering choices involve approximations for real-time visualization, and I explicitly documented that.

Live demo: https://adriwin06.github.io/black-hole/
GitHub: https://github.com/Adriwin06/black-hole
Physics notes: https://adriwin06.github.io/black-hole/docs/physics.html

I’d be very interested in feedback on both the visuals and whether the project communicates its physical limits clearly enough.

Small transparency note: I used AI quite a lot as a development assistant on this project, especially for parts of the implementation and documentation. The overall direction, feature set, integration, testing, corrections, and final validation were still handled by me, but I do not want to present this as a completely solo from-scratch effort.

PS: If you have poor performance on a good Laptop, it means your browser is running on your iGPU instead of your dedicated GPU.



by Adriwin78

1 Comment