So, they eye works pretty much like a camera - but it's not a camera: it's a complex dynamic self-assembling, self-tuning adaptive structure.
The fact that it's geometry is roughly static around a focal length that has sharp focus on the retina is a wonder of homeostasis with at least three known tuning loops:
1) the lens
Moving on swiftly...
2) a slower feedback loop adjusting the choriod (hence focal length) in the order of hours.
3) an even slower loop adjusting the eye geometry over longer periods of time.
check out:
https://www.sciencedirect.com/science/article/pii/S089662730...