An electronic contact lens can address the effects of presbyopia, aiding a user in adjusting focus when viewing objects at different distances from the user. The electronic contact lens includes a liquid crystal matrix. When the electronic contact lens is configured to operate in a reading mode, an aperture is formed within the liquid crystal matrix by configuring elements of the liquid crystal matrix immediately surrounding the aperture to block light from passing through the surrounding elements. The resulting aperture increases the focus of light passing through the aperture as a result of the pinhole effect. The aperture can be centered within the user's visual axis, and the location within the liquid crystal matrix corresponding to the user's visual axis can be determined during a calibration of the electronic contact lens.