Each glyph is a point-like emitter at view depth
d. For a thin lens of focal length
f, aperture
A=f/N, focused at
s, the sensor sits at
v=fs/(s-f) and the blur disc (circle of confusion) has diameter
c = A f |d-s| / (d (s-f)) on the sensor, i.e.
c(d-f)/f projected back to the glyph's plane. The sharp zone is bounded by the hyperfocal distance
H = f²/(N c₀) + f (c₀ = 0.03 mm on a 36x24 mm sensor): near/far limits
s(H-f)/(H+s-2f) and
s(H-f)/(H-s). The picture follows a pinhole projection whose vertical field of view is set by f (
2 atan(12 mm / f)).
Simplifications: ideal lens (no aberration, diffraction, vignetting; bokeh is a plain disc); a blurred glyph is drawn as a mip-blurred glyph mixed with a disc whose brightness falls as
(g/(g+B))², so total light is roughly conserved; the rain itself is scenery, not data. Glyph atlas: real MS Gothic outlines rendered in Blender (Cycles, emission) to a 512 px WebP.