07.24 · Ambient & Background
Ken Burns Effect
Photos slowly zoom and pan, then fade into the next. Best for hero slideshows.
Watch it
It moves by itself. Pause it, or turn on slow motion to follow each drift.
Inside, the whole photo stays still and the bright frame is what the visitor sees: it glides from the dashed start frame to the dashed end frame, then the next photo fades in.
Still photos only fade from one to the next, like a plain slideshow. Zoom and pan also drifts and zooms each photo while it shows, so still pictures feel alive.
Try it
Change a setting and see the difference as it moves.
Which way it zooms
Both zooms some photos in and others out.
How much it moves
Subtle feels calm; strong feels like film.
Time on each photo
Longer is calmer.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a Ken Burns effect to [your hero photo or slideshow]. Slowly zoom and pan each photo, the way a documentary camera moves over a still print, and crossfade to the next photo before its move ends, so the motion never stops. Give each photo its own start and end framing that drifts toward a point of interest, at an even, unhurried pace. Keep the photo larger than its frame at every moment so no edge ever shows, move it with transforms only, and keep any text on top still and readable. If the visitor has reduced motion turned on, show each photo still and change photos with a slow fade. Match the settings listed below.
Your settings
Replace the words in brackets with your own element. Your settings are added at the end.
Free and open source. If this helped, a star on GitHub helps other people find it.
Star on GitHubWhat it is
The full explanation is in README.md.