Ray Tracer


My implementation of Chapters 1-15 of The Ray Tracer Challenge book by Jamis Buck. Implemented in C++ and compiled to WebAssembly.

Just select a scene description from the dropdown (or enter your own according to the style used in the book) and click “go!” to generate the render.

Let me know what you think. Code is available on my Github. Let me know if you have any tips for me.

EDIT: If it doesn’t run, please clear your cache. I messed up the http headers the first time I pushed this and the wasm module cache never expires… so if you ran the site previously it won’t update.