Sun
Feb 5

Raytracing in the browser

Large and pretty smaller

On a whim, I bought “Ray Tracing in One Weekend” and wrote a ray tracer. I then put it on the web using Emscripten. Check it out here: http://lardcave.net/raytrace/.

Interestingly / scarily, the Web version runs almost as fast as the native version on my Mac. That’s really impressive.