Skip to content

zongzhengli/black-hole

Repository files navigation

Black Hole

This is a realtime WebGL black hole ray tracer. It demonstrates the gravitational lensing of a black hole in front of the Andromeda galaxy. Realtime rendering is achieved by implementing the ray geodesics inside a fragment shader and using dynamic step sizes based on distance to the black hole.

See it in action.

Demo image

About

Realtime WebGL black hole ray tracer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published