a literate raytracer in javascript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 69590b5 Mar 19, 2017



This is a literate raytracer, written in Javascript. The demo, code listing, and explanation are all one part: you can understand the implementation by reading it in combination with literate-style code comments.

This is intended as a learning platform for those trying to connect the mathematical and engineering explanations of raytracing and understand the behavior of the algorithm well enough to do interesting things.


Submit a normal pull request with more docs or clarified code! To rebuild the literate pages:

npm install
npm run-script doc


Other Raytracers

This code and accompanying text is released under CC0, or Public Domain where applicable.