Hello! This is the online handbook for Dylan Beattie’s JavaScript ray-tracer workshop.
The handbook includes instructions and code samples for each part of the workshop, for attendees who want to follow along with the live coding exercises and build their own JavaScript ray tracer.
In which we learn about vectors, 3D coordinate systems, and some neat JavaScript stuff like how to create immutable data structures using private class fields.
In this section we'll create a scene containing only a camera and a background color, and run a test render to check that everything we've got so far is working properly.
In this module, we dramatically speed up our tracer by creating multiple workers, runing each worker on a different CPU core, and combining the results into a single image.