Image looks · autofocus-hunt
Autofocus hunt
Camcorder autofocus hunting on a liminal office corridor (or any image): blur → snaps sharp → slips → locks, then a zoom from 52° to 27° and a second hunt; a far figure is visible only inside the first sharp window. REC / AF / zoom OSD and focus brackets.
A free, MIT-licensed image effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Autofocus hunt is for
Suspense reveals, "did you see that?" beats, found-footage openers, product reveals with a lens feel.
Details
- Category
- Image looks & photo effects
- Length
- 5.5 s (165 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- medium
- Transparent overlay
- no
- Seamless loop
- no
- Text props
- —
- Colour props
wallpapercarpetsignal- Image props
src- Mood
- photo
- Roles
- backdrop
Use Autofocus hunt in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add autofocus-hunt --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render autofocus-hunt --props '{"wallpaper":"#d5bd66","carpet":"#8c763c","signal":"#ff2a1a","src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export autofocus-hunt --as mp4 --props '{"wallpaper":"#d5bd66","carpet":"#8c763c","signal":"#ff2a1a","src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="autofocus-hunt"
props={{wallpaper: '#d5bd66', carpet: '#8c763c', signal: '#ff2a1a', src: ''}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="autofocus-hunt"
props='{"wallpaper":"#d5bd66","carpet":"#8c763c","signal":"#ff2a1a","src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "autofocus-hunt",
"props": {
"wallpaper": "#d5bd66",
"carpet": "#8c763c",
"signal": "#ff2a1a",
"src": ""
}
}
]
}Autofocus hunt props
17 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
src | "" | public/ image to focus-hunt (empty = procedural corridor) |
focusKeys | [[0,0.28],[14,0.3],[26,1.7],[36,0.72],[46,1.3],[56,0.94],[64,1],[96,1],[104,0.6],[116,1… | [[frame, focusDistance]] with 1 = the subject in focus; overshoot past 1 and back for a hunt |
zoomAt | 92 | frame the optical zoom starts |
zoomFrames | 34 | zoom duration |
fovFrom | 52 | start field of view in degrees |
fovTo | 27 | end field of view in degrees (zoom = tan(from/2)/tan(to/2)) |
zoomFocus | [0.66,0.46] | [x, y] 0..1 the zoom centres on |
maxBlur | 26 | maximum blur radius (px at 1080) |
reveal | true | show the far figure only while sharp between revealFrom and revealTo |
revealFrom | 58 | first frame the hidden figure may appear |
revealTo | 92 | last frame the hidden figure may appear |
notice | ["NOTICE","Lights stay on after 6 PM.","Keep to the marked route.","Report any closed d… | printed notice on the wall: title line then rules |
wallpaper | "#d5bd66" | corridor wallpaper colour |
carpet | "#8c763c" | carpet colour |
signal | "#ff2a1a" | EXIT sign colour (the only signal colour) |
osd | true | camcorder REC / AF / zoom overlay and focus brackets |
osdLabel | "REC" | camcorder on-screen-display label next to the red dot |
Related motions

Liminal office corridor (3D)
Liminal / uncanny backdrops for horror-lite, mystery, "corporate dread" satire and found-footage openers.
liminal-corridor-3d
Glitch image bursts
Beat hits, "system error" / hacked moments, energetic transitions between stills, music-video accents.
glitch-image
Brush-stroke reveal
Ink / painterly titles, heritage and cultural stories, festival greetings, art-brand reveals: pass `src` and `title`, or your own…
brush-stroke-reveal
Film finishing stack
Making any still or scene feel shot on film; a final pass over composites; a flare accent on a light source.
film-look
Handscroll reveal
Timelines, histories, journeys, supply chains — any linear story shown as one continuous artwork.
handscroll-reveal
Ken Burns push / pull / tilt
Turning any still (AI art, photo, illustration) into a living shot; emphasis punch-ins on a caption beat; cold-open tilt reveals of tall…
ken-burns
Notes & credits
Technique sources:
- lemo-opuscar styles/backrooms demo/story.js focus curve + core/three/post.js CoC (MIT, LemoLab)
- analysis/sources/lemo-styles-a.md §4 autofocus-hunt