Minimal raytracer