MY SIMULATOR / OPTICS LAB
GEOMETRIC OPTICSINTERACTIVE EXHIBIT
LENS VIGNETTING · OUT-OF-FOCUS HIGHLIGHTS

Cat-Eye Bokeh: How Lens Barrels Clip Light

A bright point becomes a tiny image of the lens opening. Move it off-axis and the barrel can bite a crescent from that image.

ILLUSTRATIVE GEOMETRIC MODEL
01 / OPTICAL PATHFULL PUPIL
transmitted rays clipped rays↔ drag to pan
POINT SOURCE AT INFINITYFIELD 0.0°
◉

On axis, the barrel opening contains the whole aperture. The defocused point is a round image of the pupil.

03 / MEASUREMENTS

What reaches the sensor?

ALL VALUES · ILLUSTRATIVE MODEL
PUPIL TRANSMISSION
100.0%
Full aperture visible
BOKEH WIDTH
0.80 mm
Horizontal blur diameter
pupil width × defocus / focal length
BOKEH HEIGHT
0.80 mm
Vertical blur diameter
pupil height × defocus / focal length
PUPIL CENTROID SHIFT
0.00 mm
Shift toward the clipped edge
area-weighted pupil centre
04 / EXPERIMENT

Find the half-light angle

RUN

Estimate the field angle where half the aperture area remains visible. Compare an analytic circle-overlap solution with a deterministic ray-sampling measurement.

Run the experiment to measure the cutoff for the current lens geometry.
05 / MODEL VALIDATION

Independent numerical checks

3 / 3
✓Circle overlap · quadrature0.00%
✓Full pupil · exact area0.00%
✓Blur scale · ray geometry0.00%
Grid quadrature, Halton Monte Carlo and direct ray geometry test separate calculations against the stated equations.
∑The scienceEquations, assumptions and limits of the model+

1. The clipped entrance pupil

The aperture stop is a circular disk of radius a. A restrictive barrel throat, a distance L away, has radius b = a + c, where c is the radial clearance. For a field angle θ, a ray bundle shifts laterally by d = L tan θ between the two planes. The transmitted pupil is the intersection of the two disks.

For partial overlap, the exact area is

A = a² cos⁻¹((d²+a²−b²)/(2da))
+ b² cos⁻¹((d²+b²−a²)/(2db))
− ½ √[(-d+a+b)(d+a−b)(d−a+b)(d+a+b)]

Transmission is T = A / (πa²). If d ≤ b−a, the full pupil is visible. If d ≥ a+b, it is completely blocked.

In partial overlap, the horizontal pupil width is wₚ = a + b − d. The circle boundaries meet at xₘ = (d² + a² − b²)/(2d), giving vertical pupil height hₚ = 2√(a² − xₘ²).

2. From pupil to bokeh

A defocused point source forms an image of the visible pupil. In the paraxial thin-lens approximation, a sensor offset Δz from the image plane scales pupil dimensions by s = |Δz| / f. The displayed blur width and height are s wₚ and s hₚ. The pupil's area-weighted centroid shift is calculated by numerical integration.

3. What is simplified?

The model uses a thin lens, parallel incoming rays, circular apertures, one circular barrel throat and paraxial defocus scaling. It omits lens-surface refraction, pupil aberration, distortion, diffraction, sensor microlenses, blade shape, coatings and wavelength-dependent effects. Real lenses can have several apertures and more complicated pupil shapes.

Focal lengths, f-numbers, distances and angles are illustrative control values, not specifications for a real camera. The ray paths are geometrical and the bokeh glow is a visual aid, not a photometric exposure calculation. The experiment's ray sample is deterministic and finite, so its result has sampling error.

4. How to read the exhibit

Start on axis, then increase the field angle. Watch the barrel throat remove one side of the pupil. The bokeh spot becomes a rounded polygon-like crescent, often called cat-eye bokeh. Open the aperture or increase the throat spacing to make clipping appear sooner; increase clearance to delay it. Sensor defocus changes blur size but not the fraction of the pupil that transmits light.

Made with 🤖 ChatGPT