raytracing simple scene using coffeescript in console and browser