Art, Rendering, Ray Tracing, Creative Coding, Graphics.
Once we have exhausted either our max distance or bounces we set the pixel’s colour by tracing back along the path of our ray from the light (or nothingness) and working out how the ray’s colour transforms at each collision. You can see how this could get very complex very quickly, with more