Glyph columns sit at depths
d in front of a thin lens (focal length
f, aperture
A=f/N, focus
s). Pinhole projection puts a point at height
Y at
y = fY/d on a 36x24 mm sensor; the blur disc diameter is
c = A f |d-s| / (d (s-f)). The graph (top left) plots
c against depth in screen pixels, with the sharpness threshold
c₀ = 0.03 mm and the focus distance marked; the sharp zone ends at the hyperfocal-based limits
s(H-f)/(H+s-2f) and
s(H-f)/(H-s) with
H=f²/(N c₀)+f.
Simplifications: ideal lens, disc-shaped bokeh, blur applied by choosing a pre-blurred copy of the glyph sprite (5 levels) and dimming by
(g/(g+B))². Glyph sprites: real MS Gothic outlines rendered in Blender (Cycles) to a WebP atlas.