A ray tracer for Canvas 2d