Plan view from above (depth runs left to right)
What the sensor records
Background size vs focal length

Lens and sensor

Longer lens = narrower wedge. With auto-dolly you also step back, so the background grows relative to the subject.

A smaller sensor sees a narrower wedge for the same focal length (crop factor).

Wider aperture (small f/) = thinner in-focus band, shown shaded in the plan view and as blur in the frame.

Camera position

Off: stand still and zoom only. The subject grows, the background does not change its relation to it.

Readout

The science

A lens of focal length f in front of a sensor of height h and width w sees an angle

FOV = 2 atan( h / 2f )   (vertical; use w or the 43.27 mm diagonal for the others)

Thin lens: 1/f = 1/s + 1/s'. An object of height H at distance s forms an image of height H·f/(s − f). Auto-dolly solves that for the distance at which the subject fills 55 % of the sensor height:

d = f ( 1 + H / (0.55 h) )

A post a distance B behind the subject is at s = d + B, so relative to a same-size object at the subject its image is smaller by the ratio

r = (d − f)/(d + B − f) ≈ d / (d + B)

Longer lenses force a larger d, so r rises towards 1: the background looks "compressed" towards the subject. The perspective itself depends only on where the camera stands, not on the focal length.

Depth of field: with circle of confusion c (0.03 mm for full-frame, divided by the crop factor), f-number N and hyperfocal distance Hf = f²/(N c) + f,

near = f² d / (f² + N c (d − f)),  far = f² d / (f² − N c (d − f))

(far = infinity once d reaches the hyperfocal distance). These are the exact thin-lens limits where the blur circle below equals c; the textbook hyperfocal formula near = Hf·d/(Hf + d − f) differs from them by under 1 % here.

The blur diameter on the sensor for an object at s when focused at d is c(s) = f²·|s − d| / (N (d − f) s). Simplifications: ideal thin lens, no diffraction, no lens distortion, one fixed c; sensor sizes are nominal (APS-C 23.6 x 15.6 mm, M4/3 17.3 x 13 mm); posts and subject sizes are illustrative.

Independent checks

    Photography Equipment: Lens Compression Plan View (2D)

    Camera bodies and lenses are equipment choices, and this simulator isolates the single biggest one: focal length combined with sensor format. Pick a lens on a real 3D set with a subject and a row of fixed background markers, choose Full-Frame, APS-C or Micro Four Thirds, and watch the "auto-dolly" logic move the virtual camera back or forward so the subject keeps filling the same part of the frame — exactly what a photographer does when they zoom or change lenses and reposition. The background compression that results is computed live from real field-of-view and distance formulas, not a canned animation, alongside 35mm-equivalent focal length, camera distance and a thin-lens depth-of-field estimate for the chosen aperture.