Effect #035 in our rendered series
Camera shake
Handheld shake, then a sharp impact shake on the beat, then a settle, with intensity as a variable.
Rendered by us at 1920x1080 over a shot from Tears of Steel (Blender Foundation, CC-BY 3.0). Expand plays the full 1080p file.
Edit in Premiere, Resolve or After Effects? Jump to editor templates. Making many versions of the same video? Use the code route.
Make this effect with
Built and tested by us
Other ways, not tested by us
Use it in a real edit
The same handheld shake and impact on a close-up of Old Thom. Nothing in the composition changed except the footage file.
The composition plays your clip as a muted <video> layer under the graphics (the file plate.mp4 in the code below), so you swap the footage by replacing that file and rendering again. To use the graphics in an editor instead, switch the background off and render a transparent MOV (an H.264 MP4 cannot carry transparency):
npx hyperframes render . -o overlay.mov --format mov --fps 24 --variables '{"plate":false}'The routes in full
With Claude Code: the prompt we used
Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.
Make a 5 second camera shake effect on a title scene: handheld shake first, a sharp impact shake on the beat, then it settles, with intensity as a variable.
What changed since this prompt: the demo on this page is our second version, 5 seconds long, rebuilt on a shot from Tears of Steel with the same animation idea. The full composition below is the one we rendered; its build log lists every change.
Built by a Claude Code subagent (Sonnet) from the HyperFrames registry block camera-shake, HyperFrames 0.8.10. Claude Code then checked the composition with hyperframes lint and hyperframes check before we rendered it.
What we had to correct (5 notes from the build log):
- Lint run 1 (2026-11-06): 0 errors, 0 warnings.
- What changed from the registry block: the block shakes a 3D layered world with many profiles. Built a smaller version: three profiles (handheld, impact, rig) from seeded sine noise sampled every 24 fps frame, plus a decaying impact kick on the 1.9 s beat. The scene sits in an oversized 2720 by 1880 rig so edges never show empty frame; offsets are clamped (300 px x, 220 px y, 2.5 degrees) to keep text inside the 6% margin. Far and near shape layers move at different rates for depth. No flashes: the impact is a ring and debris, not a light change.
- Decided against: Math.random, CDN GSAP, 3D preserve-3d layers, a rotation toggle.
- only linted. Frame bounds at maximum intensity still need the lead's look.
- v2 (7 Nov 2026): real footage from Tears of Steel, plates cs_scope. Footage is shaken inside an oversized rig (one clip at 125 percent, no parallax shapes). Amplitude halved so the shake passes the flash check; the first render on the rocket plate failed it (11 to 14 flashes per second).
With HyperFrames code
Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.
npx hyperframes add camera-shake
npx hyperframes render . -o out.mp4 --fps 24Settings you can change without rebuilding (pass them with --variables):
| Setting | Name | Type | Default |
|---|---|---|---|
| Shake profile | profile | enum | handheld |
| Intensity | intensity | number | 1 |
| Accent colour | accent | color | #ff5a1f |
| Show background | plate | boolean | true |
Our full composition (index.html, 6 KB)
<!doctype html>
<html lang="en" data-composition-variables='[
{"id":"profile","type":"enum","label":"Shake profile","default":"handheld","options":[{"value":"handheld","label":"Handheld"},
{"value":"impact","label":"Impact"},
{"value":"rig","label":"Rig buzz"}]},
{"id":"intensity","type":"number","label":"Intensity","default":1,"min":0,"max":2,"step":0.1},
{"id":"accent","type":"color","label":"Accent colour","default":"#ff5a1f"},
{"id":"plate","type":"boolean","label":"Show background","default":true}
]'>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1920, height=1080" />
<link href="https://fonts.googleapis.com/css2?family=Anton&family=JetBrains+Mono:wght@500&display=block" rel="stylesheet" />
<script src="gsap.min.js"></script>
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 1920px; height: 1080px; overflow: hidden; background: transparent; }
#root { position: relative; width: 100%; height: 100%; overflow: hidden; background: transparent; }
.vid { position: absolute; left: 0; top: 0; width: 2400px; height: 1350px; object-fit: cover; }
#tag { position: absolute; left: 96px; top: 80px; z-index: 30; display: flex; align-items: center; gap: 18px; font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 38px; color: #fff; letter-spacing: 0.04em; background: rgba(10,12,18,0.86); padding: 12px 28px; border-radius: 10px; border-left: 10px solid var(--accent); }
#tag span { display: none; }
#shock { position: absolute; left: 960px; top: 540px; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; border: 8px solid var(--accent); opacity: 0; }
</style>
</head>
<body>
<div id="root" data-composition-id="main" data-start="0" data-duration="5" data-fps="24" data-width="1920" data-height="1080">
<div id="rig" data-layout-allow-overflow style="position:absolute;left:-240px;top:-135px;width:2400px;height:1350px">
<video class="plate vid" src="plate.mp4" muted playsinline data-start="0" data-duration="5"></video>
<div id="shock" style="left:1200px;top:675px"></div>
</div>
<div id="tag"><span id="tagO">Original</span><span id="tagS"></span></div>
</div>
<script>
window.__timelines = window.__timelines || {};
(function () {
const v = window.__hyperframes.getVariables();
const accent = v.accent || "#ff5a1f";
document.getElementById("root").style.setProperty("--accent", accent);
if (!v.plate) document.querySelectorAll(".plate").forEach((e) => (e.style.display = "none"));
const PROFILES = {
handheld: { label: "HANDHELD", f: [0.8, 1.5, 2.7], ax: 20, ay: 16, ar: 0.7, ix: 110, iy: 90, ir: 1.6, hz: 8, tau: 0.38 },
impact: { label: "IMPACT", f: [0.6, 1.1, 2.0], ax: 7, ay: 6, ar: 0.25, ix: 190, iy: 150, ir: 2.0, hz: 7, tau: 0.55 },
rig: { label: "RIG BUZZ", f: [7, 11, 17], ax: 7, ay: 7, ar: 0.25, ix: 60, iy: 50, ir: 0.7, hz: 15, tau: 0.3 },
};
const P = PROFILES[v.profile] || PROFILES.handheld;
let k = Number(v.intensity);
if (!isFinite(k)) k = 1;
k = Math.max(0, Math.min(2, k));
document.getElementById("tagS").textContent = "With shake: " + P.label.toLowerCase() + " x" + k.toFixed(1);
function mulberry32(a) { return function () { a |= 0; a = (a + 0x6d2b79f5) | 0; let t = Math.imul(a ^ (a >>> 15), 1 | a); t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t; return ((t ^ (t >>> 14)) >>> 0) / 4294967296; }; }
const rnd = mulberry32(20261104);
function mk() { return P.f.map((f, i) => ({ f: f, p: rnd() * 6.2832, a: 1 / (1 + i * 0.6) })); }
const nx = mk(), ny = mk(), nr = mk();
function smp(n, t) { let s = 0, w = 0; n.forEach((q) => { s += q.a * Math.sin(6.2832 * q.f * t + q.p); w += q.a; }); return s / w; }
function ss(a, b, t) { const u = Math.max(0, Math.min(1, (t - a) / (b - a))); return u * u * (3 - 2 * u); }
function clamp(x, m) { return Math.max(-m, Math.min(m, x)); }
const IMPACT_T = 2.6;
function pose(t) {
const H = ss(1.0, 1.4, t) * (1 - ss(IMPACT_T, 3.6, t));
let x = H * P.ax * smp(nx, t), y = H * P.ay * smp(ny, t), r = H * P.ar * smp(nr, t);
if (t >= IMPACT_T) {
const u = t - IMPACT_T;
const env = Math.exp(-u / P.tau) * Math.min(1, u / 0.03) * (1 - ss(3.8, 4.4, t));
x += P.ix * env * Math.sin(6.2832 * P.hz * u + 1.1);
y += P.iy * env * Math.cos(6.2832 * P.hz * 0.83 * u + 0.4);
r += P.ir * env * Math.sin(6.2832 * P.hz * 0.6 * u + 2.0);
}
const ka = k * 0.5; // kept moderate so the shake stays under the flash limit
return { x: clamp(x * ka, 210), y: clamp(y * ka, 115), r: clamp(r * ka, 2.0) };
}
const tl = gsap.timeline({ paused: true });
gsap.set("#rig", { x: 0, y: 0, rotation: 0 });
const FR = 24;
for (let i = 0; i < 5 * FR; i++) {
const p = pose((i + 1) / FR);
const at = i / FR;
tl.to("#rig", { x: p.x, y: p.y, rotation: p.r, duration: 1 / FR, ease: "none" }, at);
}
tl.set("#tagO", { display: "inline" }, 0);
tl.set("#tagO", { display: "none" }, 1.0);
tl.set("#tagS", { display: "inline" }, 1.0);
// impact beat: a thin ring flashes out from the centre of the frame
tl.fromTo("#shock", { scale: 0.3, opacity: 0.9 }, { scale: 4, opacity: 0, duration: 0.7, ease: "power2.out", immediateRender: false }, IMPACT_T);
gsap.set("#shock", { opacity: 0 });
window.__timelines["main"] = tl;
})();
</script>
</body>
</html>
With Remotion
We have not built this effect in Remotion. If you use it, read its licence first: Individuals (personal or commercial use), organisations or teams with a total headcount of 3 or less, non-profits, and anyone evaluating Remotion before commercial use. A company does not qualify merely because it is unprofitable. Everyone not eligible for the Free License needs a Company License. Remotion licence FAQ, checked Nov 4, 2026.
In your editor: Premiere, Resolve, After Effects, CapCut
We have not reviewed an editor template for this effect yet.
Variations
The same composition rendered again with different settings. Nothing was rebuilt.
{"profile":"handheld","intensity":0.5}{"profile":"impact","intensity":0.6,"accent":"#ff2d6f"}{"profile":"rig","intensity":2}Spec and test details
- Engine
- HyperFrames 0.8.10, GSAP 3.14.2 (local copy)
- Length and frame rate
- 5 seconds at 24 fps, rendered at 1920x1080
- Video files on this page
- H.264: 1920x1080 for Expand (5345.2 KB), 1280x720 in the page (1958.8 KB), 640x360 in galleries (424.9 KB), no audio
- Picture check
- The 1080p file scores VMAF 99.68 against our render master and keeps 100% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
- Footage
- view through a sniper scope: a flying ship over misty Amsterdam rooftops, dark blue (Tears of Steel, 1:46)
- Tested in editors
- None yet
- Flash check
- Passed: at most 1 general and 0 red flashes in any second. automated approximation of WCAG 2.3.1 on a 96x54 grid, whole loop including the restart; not a certification.
- Licence
- Composition adapted by us from the HyperFrames registry (Apache-2.0); text fonts from Google Fonts under the SIL Open Font License.
- Last tested
- Nov 7, 2026
- Machine
- Laptop: AMD Ryzen 7 7735U (8 cores, 16 threads), 31 GB RAM, Windows 11 Home; CPU rendering
Technical details: render times and file sizes
- Render of the 5-second master: 38.8 s (2 render workers, on the laptop above).
- full.mp4: 5345.2 KB
- hero.mp4: 1958.8 KB
- hero.webp: 46.2 KB
- tile.mp4: 424.9 KB
- tile.webp: 16.8 KB
- real-edit.mp4: 1069.4 KB
- real-edit-full.mp4: 3773.1 KB
- real-edit.webp: 41.9 KB
- Variation "subtle": rendered in 38.5 s, 421.5 KB
- Variation "bold": rendered in 45.2 s, 425.1 KB
- Variation "rig": rendered in 79.9 s, 426.4 KB
Credits
- Built from the HyperFrames registry component camera-shake by HeyGen (Apache-2.0), adapted by us.
- Fonts from Google Fonts, under the SIL Open Font License.
- Footage: Tears of Steel, (c) Blender Foundation, mango.blender.org, licensed CC-BY 3.0. We cropped the shots to 16:9 and laid our graphics over them.
- Editor templates and other routes on this page belong to their creators, who are credited on each card.
Related effects and jobs
Page checked on Nov 4, 2026.



