CoffeeScript port of PlayfulJS's raytracer demo.