In the 9th century, the Arab scientist Alhazen had come up with the idea of using the camera obscura, which was literally a dark room, or box, with a single, small hole in one side that let light through.