LIGHT & CAMERAS / LENS GEOMETRY

Cat’s-Eye Bokeh and the Clipped Lens Pupil

See how a lens barrel cuts the off-axis light cone, turning a round defocused highlight into a cat’s-eye shape.

OPTICAL BENCH SCHEMATIC VIEW · NOT TO SCALE

A round aperture is viewed through the lens barrel. At an off-axis angle, the barrel opening hides part of the pupil.

01 / CONFIGURE

Optical setup

ILLUSTRATIVE INPUTS
50 mm focal length (illustrative) · fixed thin-lens model · all control values are illustrative
02 / LIVE MEASUREMENTS

What reaches the sensor

MODEL · SCALED
Visible pupil 68.6% fraction of stop area admitted
Blur-circle diameter 0.23mm geometric defocus at sensor
Admitted pupil area 171.8mm² visible cross-section area
Stop radius 8.93 mmillustrative
Centre offset 14.6 mmscaled
Sensor position 51.28 mmtextbook equation
03 / SCALED RAY-SAMPLING EXPERIMENT

Measure the admitted pupil

Sample 60,000 points across the stop and count those that clear the barrel. Compare the measured fraction with the exact circle-overlap result.

No measurement yet. Change the field angle or aperture, then run the experiment.
04 / SCALED MODEL CHECKS

Independent numerical checks

4 / 4 PASS
Thin-lens closurereciprocal-distance identity
0.000%
Pupil overlapanalytic area vs Simpson integration
0.000%
Defocus ray tracecone geometry vs sensor intercepts
0.000%
Checks are recalculated from the current settings. Numerical agreement validates the implementation, not the assumptions of the simplified optical model.
RENDER QUALITY
05 / EXPLANATIONThe science

Thin-lens focus

The focal length is fixed at f = 50 mm (illustrative). For object distance u, the image distance v follows:

1/f = 1/u + 1/v   ⇒   v = fu/(u − f)

The sensor is placed at the image distance for the selected focus distance. A point at another distance forms a cone that has not yet converged, or has already crossed, when it reaches the sensor.

Geometric blur

For stop radius r and point-light image distance vₚ, the blur-circle diameter at sensor distance v𝒻 is:

c = 2r |1 − v𝒻/vₚ|

Barrel clipping

The stop radius is r = f/(2N), where N is the f-number. The barrel opening has radius R. In this paraxial cross-section, their centres are offset by:

d = L tan(θ)

The admitted pupil is the intersection of two circles with radii r and R, separated by d. Its area is evaluated with the exact circle-overlap formula. Dividing by πr² gives the visible-pupil fraction.

What is simplified?

This is a geometric, monochromatic, paraxial model with one circular stop and one circular barrel opening. Real lenses have multiple groups, pupil magnification, distortion, aberrations, coatings and wavelength-dependent transmission. The displayed bokeh silhouette is the normalized admitted-pupil shape; its measured blur diameter is reported separately.

All dimensions and optical settings in the interactive model are illustrative. The thin-lens relation and circle-intersection geometry are textbook equations. The drawing is schematic and is not a prescription for a real lens.