What the model calculates
The iris is a circular stop of radius a = f/(2N). The barrel opening is a second circle of radius b, displaced in the pupil plane by d = L tan θ. Only their intersection transmits rays.
P = {(x,y) : x² + y² ≤ a², (x − d)² + y² ≤ b²}
For a point at infinity, the incoming slope is tan θ. A thin lens changes the ray slope by −x/f. At a sensor displaced by Δz from best focus:
xs = (f + Δz) tan θ − (Δz/f)x
ys = −(Δz/f)y
The geometric blur diameter for an unvignetted circular pupil is D = 2|Δz|a/f. Its shape is the visible pupil mapped onto the sensor. Off-axis clipping removes part of that pupil, producing the familiar cat-eye outline.
What is simplified
- One ideal thin lens replaces a real multi-element optical prescription.
- The pupil is treated as a physical circular iris; pupil magnification and refraction through front groups are omitted.
- The barrel is a single circular opening. Real baffles, lens mounts and internal reflections are more complex.
- Geometric rays describe defocus. Diffraction, aberrations, scattering, sensor microlenses and image processing are not included.
Slider settings are illustrative; equations and ideal-model references are textbook. The rendered apparatus and bokeh are visually scaled, not a commercial lens specification.