Handheld Camera Shake
Compare a locked-off frame with gentle handheld and running shake; reduced motion turns the shake off.
AI prompt
Handheld documentary shot of a woman walking down a village street at dusk, camera operator following at shoulder height, gentle organic sway and breathing movement, slight horizontal drift and tiny rotation, focus stays on her back, natural light, 35mm lens, subtle rolling shutter, 5 seconds, continuous take. Intensity variants: locked-off tripod shot (perfectly still frame, only the subject moves), running shake (strong irregular movement with sudden jolts and rotation). Describe the shake as smooth and low frequency unless panic is wanted. Negative: warp stabiliser artifacts, flicker, abrupt jump cuts, nauseating wobble, motion blur smearing faces.About this pattern
Definition
Handheld camera work adds small, irregular movement from the operator's body. A locked-off camera (tripod) stays perfectly still. The amount of shake changes how real, urgent or unstable a scene feels.
When to use it
- Subtle handheld adds documentary realism and intimacy; strong shake adds panic and action; locked-off feels composed and observational.
- Describe the intensity in words and rhythm (slight sway, breathing, running shake) rather than "shaky".
- Constant heavy shake is tiring and can cause nausea, so use it sparingly.
What the controls do
- Locked-off, Handheld, Running buttons; the Pause button freezes the frame.
Motion & timing
- Smooth noise built from three sine waves per axis, up to 6px translation and 1.5 degrees rotation.
- Reduced motion: no shake is rendered; a note explains this and the frame stays still.
Tips & variations
- Shake scales with the frame; keep key subjects away from the edges so they are not cropped by movement.
- Offer a stable alternative for people sensitive to motion.
Code of this live preview
<div class="bx"><div class="vp"><div class="sc" id="sc"><i class="sky"></i><i class="hz"></i><i class="hs"></i><i class="fg"></i></div></div><p class="out" id="out" aria-live="polite"></p>
<div class="row"><div class="pre" id="pre" role="group" aria-label="Shake"><button data-k="0" aria-pressed="true">Locked</button><button data-k="1" aria-pressed="false">Handheld</button><button data-k="2" aria-pressed="false">Running</button></div><button id="pz" type="button">Pause</button></div></div>:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
.bx{width:min(320px,100%);display:grid;gap:8px}
.vp{height:140px;border-radius:12px;overflow:hidden;background:#222;position:relative}
.sc{position:absolute;inset:-12px;transform:translate(var(--x,0),var(--y,0)) rotate(var(--r,0deg));will-change:transform}
.sky{position:absolute;inset:0;background:linear-gradient(#f0a46a,#f6dcaa 55%,#6c7a8a 55%)}
.hz{position:absolute;left:0;right:0;top:55%;height:2px;background:rgba(255,255,255,.6)}
.hs{position:absolute;left:46%;top:36%;width:50px;height:36%;background:#3b2f2a;clip-path:polygon(0 100%,0 45%,50% 0,100% 45%,100% 100%)}
.fg{position:absolute;left:0;right:0;bottom:0;height:30%;background:#43505e}
.out{font-size:12px;color:var(--muted);min-height:16px}
.row{display:flex;gap:8px;justify-content:space-between;align-items:center}
.pre{display:flex;gap:5px}.pre button,#pz{height:28px;padding:0 12px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11.5px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}const sc=document.getElementById('sc'),out=document.getElementById('out'),pz=document.getElementById('pz'),bs=[...document.querySelectorAll('#pre button')],reduce=matchMedia('(prefers-reduced-motion: reduce)').matches;
const A=[0,.35,1],N=['Locked-off: perfectly still, composed and observational.','Handheld: gentle sway, documentary realism.','Running shake: strong irregular movement, urgency and panic.'];let k=0,paused=false;
function sel(i){k=i;bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.k===i)));out.textContent=reduce?'Reduced motion is on: the shake preview is switched off. '+N[i]:N[i];}
bs.forEach(b=>b.addEventListener('click',()=>sel(+b.dataset.k)));
pz.addEventListener('click',()=>{paused=!paused;pz.textContent=paused?'Play':'Pause';});
function n(t,a,b,c){return Math.sin(t*a)+Math.sin(t*b+1.7)*.6+Math.sin(t*c+4.1)*.4;}
function f(ms){if(!reduce&&!paused){const t=ms/1000,a=A[k],sp=k===2?2.4:1;sc.style.setProperty('--x',(n(t*sp,1.3,2.9,5.3)*3*a).toFixed(2)+'px');sc.style.setProperty('--y',(n(t*sp,1.7,3.3,6.1)*3*a).toFixed(2)+'px');sc.style.setProperty('--r',(n(t*sp,.9,2.3,4.7)*.75*a).toFixed(3)+'deg');}requestAnimationFrame(f);}
sel(0);requestAnimationFrame(f);One complete HTML file. Save it and open it in a browser.
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Handheld Camera Shake — demo</title>
<style>
:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
html,body{height:100%}body{background:var(--bg);color:var(--text);font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.stage{min-height:100%;display:grid;place-items:center;padding:24px}button,input,select,textarea{font-family:inherit}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.bx{width:min(320px,100%);display:grid;gap:8px}
.vp{height:140px;border-radius:12px;overflow:hidden;background:#222;position:relative}
.sc{position:absolute;inset:-12px;transform:translate(var(--x,0),var(--y,0)) rotate(var(--r,0deg));will-change:transform}
.sky{position:absolute;inset:0;background:linear-gradient(#f0a46a,#f6dcaa 55%,#6c7a8a 55%)}
.hz{position:absolute;left:0;right:0;top:55%;height:2px;background:rgba(255,255,255,.6)}
.hs{position:absolute;left:46%;top:36%;width:50px;height:36%;background:#3b2f2a;clip-path:polygon(0 100%,0 45%,50% 0,100% 45%,100% 100%)}
.fg{position:absolute;left:0;right:0;bottom:0;height:30%;background:#43505e}
.out{font-size:12px;color:var(--muted);min-height:16px}
.row{display:flex;gap:8px;justify-content:space-between;align-items:center}
.pre{display:flex;gap:5px}.pre button,#pz{height:28px;padding:0 12px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11.5px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
</style></head>
<body><div class="stage">
<div class="bx"><div class="vp"><div class="sc" id="sc"><i class="sky"></i><i class="hz"></i><i class="hs"></i><i class="fg"></i></div></div><p class="out" id="out" aria-live="polite"></p>
<div class="row"><div class="pre" id="pre" role="group" aria-label="Shake"><button data-k="0" aria-pressed="true">Locked</button><button data-k="1" aria-pressed="false">Handheld</button><button data-k="2" aria-pressed="false">Running</button></div><button id="pz" type="button">Pause</button></div></div>
</div>
<script>
const sc=document.getElementById('sc'),out=document.getElementById('out'),pz=document.getElementById('pz'),bs=[...document.querySelectorAll('#pre button')],reduce=matchMedia('(prefers-reduced-motion: reduce)').matches;
const A=[0,.35,1],N=['Locked-off: perfectly still, composed and observational.','Handheld: gentle sway, documentary realism.','Running shake: strong irregular movement, urgency and panic.'];let k=0,paused=false;
function sel(i){k=i;bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.k===i)));out.textContent=reduce?'Reduced motion is on: the shake preview is switched off. '+N[i]:N[i];}
bs.forEach(b=>b.addEventListener('click',()=>sel(+b.dataset.k)));
pz.addEventListener('click',()=>{paused=!paused;pz.textContent=paused?'Play':'Pause';});
function n(t,a,b,c){return Math.sin(t*a)+Math.sin(t*b+1.7)*.6+Math.sin(t*c+4.1)*.4;}
function f(ms){if(!reduce&&!paused){const t=ms/1000,a=A[k],sp=k===2?2.4:1;sc.style.setProperty('--x',(n(t*sp,1.3,2.9,5.3)*3*a).toFixed(2)+'px');sc.style.setProperty('--y',(n(t*sp,1.7,3.3,6.1)*3*a).toFixed(2)+'px');sc.style.setProperty('--r',(n(t*sp,.9,2.3,4.7)*.75*a).toFixed(3)+'deg');}requestAnimationFrame(f);}
sel(0);requestAnimationFrame(f);
</script>
</body></html>