raytracer

by coolshark
See Code Download Embed
raytracer, all code based off https://tmcw.github.io/literate-raytracer/. the resolution is the size of the pen, and the maximum ray bounces is the maximum amount of reflections for asingle ray. higher resolution and lower bounces = faster rendering. 3 random spheres are added each time you run the script, but you can try making your own scene too.

Created March 28, 2021

Last updated March 28, 2021

Published March 28, 2021