First raytracer, starting from scratch.