also called slow pan and zoom · documentary pan
Named for the documentarian who made a career of it. The rule is that the move must be slower than the viewer's attention — if they notice the motion starting, it is too fast. Each move is two focus points and two scales. The picture is cover-fitted with its object-position and transform-origin on the focus, so it fills the frame at any shape of screen, and the scale pushes in or pulls out around what matters. Nine seconds a picture, two more to dissolve; nothing is scripted.
How it is built
@property --fx { syntax: '<percentage>'; inherits: false; initial-value: 50% } /* and --fy */
.shot img { object-fit: cover; object-position: var(--fx) var(--fy);
transform-origin: var(--fx) var(--fy); /* the focus */
animation: kb 54s linear infinite; animation-delay: calc(var(--i) * 9s) }
@keyframes kb { from { --fx: var(--fx0); --fy: var(--fy0); scale: var(--s0) }
20% { --fx: var(--fx1); --fy: var(--fy1); scale: var(--s1) } }In full, on GitHub index.html showcase.css
Photographs — Arthur Rothstein, Dorothea Lange and Walker Evans for the Farm Security Administration, Library of Congress, Prints and Photographs Division, public domain, via Wikimedia Commons: Arthur Rothstein, April 1936, Dorothea Lange, June 1938, Dorothea Lange, June 1938, Arthur Rothstein, May 1936, Walker Evans, 1936, Dorothea Lange, March 1936. The captions follow the Library’s records.