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.

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.

More optionsFewer options

The caption stays still while the photo moves.

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.

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 GitHub

What it is

The full explanation is in README.md.

Good for

  • Hero photos
  • Slideshows
  • Travel and property sites
  • Story pages

Avoid on

  • Product photos people inspect
  • Pictures of text