👋 This is my source code, written in JavaScript, from working through the first eleven chapters of Jamis Buck’s incredible book: The Ray Tracer Challenge.
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch!
It’s easier than you think. In just a couple of weeks, build a ray tracer that renders beautiful scenes with shadows, reflections, brilliant refraction effects, and subjects composed of various graphics primitives: spheres, cubes, cylinders, triangles, and more.