Building a primitive lens from scratch.