2008-11-03

Javascript Ray Tracer

So I just ran into a Javascript ray tracer:

http://www.slimeland.com/raytrace/

It's incredible that the whole ray tracer can be done in Javascript. Admittedly, it's a bit slow (it took around 5 minutes to render a 250x250 image of a flowerpot), but it's still way cool. If I can't find any raytracing algorithms out there in Java (which I haven't been able to yet, but maybe I'm just blind), I'll probably see if I can port this one. I have quite a few ideas that I'd like to use a raytracer for.

Hmm, on second thought, maybe I should just use POV-Ray.

No comments: