The device works by using a lens, through which it captures the incoming light. The light is then focused on a small grid of light detectors.