Ray casting a black hole

A shader I wrote to render a black hole. It models the bending of light caused by the black hole's gravity.

Ray casted black hole with a colorful accretion disk

Click and drag to move the camera.

More recently, I thought it would be interesting to visualize the perspective of someone falling into a black hole. Here's what that looks like in my renderer (unpause to view animation):