Coding Challenge #144: 2D Black Hole Visualization

The Coding Train · 87,312 views
Inspired by the recent image of the Powehi m87 black hole from the Event Horizon Telescope, I attempt to visualize the behavior or light (photons) following the path of spacetime around the black hole.

💻 https://thecodingtrain.com/CodingChallenges/144-black-hole-visualization
💻 https://editor.p5js.org/codingtrain/sketches/2zZqSkxtj
💻 https://editor.p5js.org/codingtrain/sketches/4DvaeH0Ur

🔗 STEM Coding Slides:
https://www.asc.ohio-state.edu/orban.14/stemcoding/blackhole_derivation_slide1.png
https://www.asc.ohio-state.edu/orban.14/stemcoding/blackhole_derivation_slide2.png
https://www.asc.ohio-state.edu/orban.14/stemcoding/blackhole_derivation_slide3.png

🔗 Simulating a Black Hole!: https://www.asc.ohio-state.edu/orban.14/stemcoding/blackhole.html
🔗 How to draw a Black Hole: http://rantonels.github.io/starless/
🔗 Astronomers Capture First Image of a Black Hole: https://eventhorizontelescope.org/
🔗 Image of a Spherical Black Hole with Thin Accretion Disk: http://articles.adsabs.harvard.edu/cgi-bin/nph-iarticle_query?1979A&A....75..228L


🎥 How to Understand the Image of a Black Hole by Veritasium: https://youtu.be/zUyH3XhpLTo
🎥 Slingshot with Gravity! by STEM Coding: https://youtu.be/RkpulcVKLRw

🚂 Website: http://thecodingtrain.com/
💖 Patreon: https://patreon.com/codingtrain
🛒 Store: https://www.designbyhumans.com/shop/codingtrain/
📚 Books: https://www.amazon.com/shop/thecodingtrain

🎥 Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥 Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

🔗 p5.js: https://p5js.org
🔗 Processing: https://processing.org
PropellerAds