An apparatus for producing a non-mydriatic fundus image is disclosed. The apparatus can include a processor and memory, as well as an illumination component and a camera with a variable focus lens. The apparatus can be configured to adjust the focus of the lens to a plurality of different diopter ranges and capture at least one image at each of the plurality of different diopter ranges. Using the captured images, three-dimensional maps of the fundus may be generated. Three-dimensional maps of the fundus may be used to screen or diagnose various diseases.