Rewriting of the raytracer created during my university course.