Sphere Tracer Sphere Tracer Algorithm Visualization

I love visualizing algorithms.

This is the cutaway explanation of the sphere tracing process used in my 3D renders, along with information about how lighting, materials, shadows, and ambient occlusion are calculated. Not only is this useful for debugging the 3D version, it's beautiful in it's own right.

It was used to make the slides for my presentation on implicit function raytracing at GDC 2016.


Live Demo with Sourcecode

Origional incarnation from a few years back.