3D Raytracer using Phong reflection algorithm. Project randomly arrays spheres in a 3d environment and then cast rays in the environment to measure and visualize it. Originally the project was to render the rays and 3d spheres in real time to show the process but I prefer quicker renders. The code for that visualization is still in the project though so play with it as you please. I might include more to this render like shadows or a 3d environment for the spheres to be in. Any suggestions are welcome! Phong Relection Model : https://en.m.wikipedia.org/wiki/Phong_reflection_model 2D Raytracing (what this is built on top of) : https://scratch.mit.edu/projects/306277547/ 3D Vectors (core component to 3D raytracing and Phong shading) : https://scratch.mit.edu/projects/306638408/ All code by @GreatGameDota . #3d #ray #tracing #marching #shading #vectors #algorithm #lighting