Visualization of a 2D Black Hole using p5.js
For rendering options. The following flags can be appended to the URL to modify mass and separation between the photons.
For example:
https://alexriosj.github.io/2d-black-hole-visualization/?m=10044.66486&sp=23
Render Flag | Default (no flag) | |
---|---|---|
m | Black Hole Mass | 6500 |
sp | Space between photons | 10 |
- Coding Train video
- Veritasium video
- How to draw a Black Hole from Riccardo Antonelli