Ray.js is a simple ray tracer in JavaScript. You can find its sources at [1], and see it in action on this page.

The demo should run on most modern browsers (including IE 10). If you have one of those, hit the “Render” button below. It should take under 5 seconds to render the default scene even on slow hardware.


  1. http://hg.tx97.net/ray.js/

The demo

If you’re reading this, your JavaScript support may be disabled.