Becoming Friends with Your Camera

Three experiments in perspective, focal length, and the center of projection.

Henry Hong  ·  CS 180 Project 0  ·  August 2026

01

The selfie at four distances

Same face, same framing, four focal lengths. Matching the framing each time means standing four different distances away.

14 mmPortrait at 14mm from about 25cm away
~25 cmears 71 %
24 mmPortrait at 24mm from about 45cm away
~45 cmears 82 %
48 mmPortrait at 48mm from about 90cm away
~90 cmears 90 %
136 mmPortrait at 136mm from about 2.5m away
~2.5 mears 96 %
Focal lengths are 35 mm equivalent, read from EXIF. Distances are back-solved from those. "Ears" is how large my ears project relative to my nose, 10 cm closer.

Wide lenses do not warp faces. A pinhole camera has no lens and does the same thing.

A feature at depth d projects at a size proportional to f/d. My nose sits at d, my ears about 10 cm behind at d + 10 cm, so their relative size is:

d  :  d + 10 cm

Focal length cancels. Only distance matters. At 25 cm my ears are 40 % further from the camera than my nose, so they project at 71 % of the scale and the face reads as distorted. At 2.5 m that same 10 cm is a 4 % change, so the whole face projects at nearly one scale. Zooming to 136 mm does not fix my face. It lets me stand far enough back that there is nothing to fix.

02

Perspective compression

The same experiment run backwards, on a building.

Far back, zoomed in
174 mmBuilding at 174mm from far away, appearing flattened
Compressed. The cedars sit right behind the roofline, as if growing out of it, and the facade reads flat.
Walked in, zoomed out
74 mmBuilding at 74mm from close, showing depth and a receding side wall
Deep. The lamppost now stands well in front of the wall, the corner opens up, and the cedars drop back far enough to show sky.

Both frames put the building at about the same size, so distance is again the only variable.

From far back, the depth between the building and the trees behind it is a small fraction of my distance to either one, so both project at almost the same scale and the layers stack flat. Walking in makes that same depth a large fraction of a much shorter distance, so near things grow faster than far ones and edges converge harder.

03

The dolly zoom

Walk back and zoom in at the rate that holds the subject. The background does not hold.

Animated dolly zoom down a campus corridor
7 FRAMES24 → 87 MM
I backed down a campus corridor while zooming in, holding the near seating at about a constant size. The doorway at the far end swells as the corridor compresses.
Step through it
Dolly zoom frame 1, 24mm Dolly zoom frame 2, 30mm Dolly zoom frame 3, 39mm Dolly zoom frame 4, 57mm Dolly zoom frame 5, 70mm Dolly zoom frame 6, 74mm Dolly zoom frame 7, 87mm
Frame 1 / 724 mm

Drag to walk the camera backwards.

frame 124
frame 230
frame 339
frame 457
frame 570
frame 674
frame 787

The subject sits at d. Holding f/d constant as I retreat keeps its size fixed in the frame.

The far end of the corridor is at d + Δ and scales as f/(d + Δ), so relative to the subject it is:

d / (d + Δ)

As I walk back, d grows while Δ stays fixed, so that ratio climbs toward 1. The background swells while the subject stays put. It is the Part 2 effect, animated.

Second take

Eight frames down the same corridor, 24 to 95 mm.

Second dolly zoom take, eight frames
8 FRAMES24 → 95 MM
take A frame 124
take A frame 230
take A frame 344
take A frame 450
take A frame 558
take A frame 669
take A frame 779
take A frame 895
04

Notes

Shot handheld on an iPhone 14 Pro Max. Every focal length here is the 35 mm equivalent from the file's EXIF, not an estimate. The phone switches between its ultrawide, wide and telephoto cameras across this range, so the physical focal length jumps between 2.22, 6.86 and 9 mm.

Images were rotated upright from their EXIF flag, resized to 1400 px and saved as progressive JPEG. The animations run at 150 ms per frame and play forward then backward so they loop cleanly. No cropping, retouching or alignment.

One caveat on Part 3. The zoom was stepped by thumb between handheld shots, so the foreground drifts a little rather than holding exactly. The background swells far more than the foreground drifts, so the effect still reads, but the match is approximate.