Rendered width/height (pixels): (use less for slower machines)
Scene recursion (child spheres/sphere): (use less for slower machines; careful with values > 6!)

Simple raytracing demo. The original C++ source was automatically converted to JavaScript using Emscripten.