4 ms·
I think this is awesome, however, I think it would be even more awesome to get a walk through of the code and the thought process behind minifying it in a blog
by fekberg 13y ago
I think this is awesome, however, I think it would be even more awesome to get a walk through of the code and the thought process behind minifying it in a blog post, the past days with all the jsfiddles are nice so don't get me wrong on that part. I just think it adds more value if the code is somewhat explained (I know ray tracing is explained on tons of places). Just my two cents.
- ggambetta 13y agoThe fully commented (but not entirely clean) code is here: http://www.gabrielgambetta.com/tiny_raytracer_full.js http://www.gabrielgambetta.com/tiny_raytracer_full.js Also, I'm halfway through writing a Computer Graphics textbook, half of it dedicated to raytracing.
- davidpardo 13y agoYou can find the whole commented source at http://www.gabrielgambetta.com/tiny_raytracer_full.js http://www.gabrielgambetta.com/tiny_raytracer_full.js
- fekberg 13y agoThank you for that!