working raytracer with animation capabilities