Skip to content

tmcw/literate-raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

literate-raytracer

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.

Helping

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

npm install
npm run-script doc

Reading

Other Raytracers

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