Effect #034 in our rendered series
Clip-wipe captions
Each word is revealed by a left-to-right wipe on a backed card, two lines at a time.
Rendered by us at 1920x1080 over a shot from Tears of Steel (Blender Foundation, CC-BY 3.0). Expand plays the full 1080p file with the film's sound.
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 demo above already plays the composition over real footage: the clip is a muted <video> layer under the graphics (the file plate.mp4 in the code below), and the film's sound is added to the finished file. Replace that file with your own clip and render 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 5 seconds of captions where each word is revealed by a left-to-right clip wipe on the beat, two lines, with a transparent background option.
What changed since this prompt: the demo on this page is our second version, 6 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 caption-clip-wipe, 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. Nothing needed fixing.
- What changed from the registry block: the block takes a long timed word list and a canvas text measure to fit font size. Replaced that with three fixed two-line groups launched on beats 0.4 s, 1.9 s and 3.4 s, each word wiped in left to right with an animated clip-path, and a wipe-out exit so the caption leaves the way it came. A backed caption card holds the text so it reads over any footage. No canvas measuring; the long set is sized by variation instead.
- clip-path insets use percentages on every side and a small negative overscan, so descenders and soft shadows are not cut and GSAP can interpolate the values.
- Decided against: Math.random, Date, CDN GSAP, canvas text measuring.
- v2 (7 Nov 2026): rebuilt on Tears of Steel footage (plate dlg_heart: 383.12 to 389.12 s, Celia, Thom with the robot hand, Celia) with the film's sound; every word wipes in left to right inside a dark caption card on the spoken word of 'You broke my heart. I know. You forgot me on Earth.' (two rows per card, one row in the long variation), then wipes out. Card text 76 px (76 to 96), card 80 px above the bottom edge, padding trimmed so the two-row card clears Celia's mouth. Word times: medium.en + envelope onsets; the audio starts mid-word (L-cut), 30 ms fade (cut_dlg_heart.py).
With HyperFrames code
Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.
npx hyperframes add caption-clip-wipe
npx hyperframes render . -o out.mp4 --fps 24Settings you can change without rebuilding (pass them with --variables):
| Setting | Name | Type | Default |
|---|---|---|---|
| Accent colour | accent | color | #ff5a1f |
| Text size (px) | size | number | 76 |
| Caption set | lines | enum | standard |
| Show background | plate | boolean | true |
Our full composition (index.html, 6 KB)
<!doctype html>
<html lang="en" data-composition-variables='[{"id":"accent","type":"color","label":"Accent colour","default":"#ff5a1f"},{"id":"size","type":"number","label":"Text size (px)","default":76,"min":76,"max":96},{"id":"lines","type":"enum","label":"Caption set","default":"standard","options":[{"value":"standard","label":"Short phrases"},{"value":"long","label":"Longer lines"}]},{"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=Montserrat:wght@800&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; }
#plate { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 40%, #1b2335 0%, #0b0d12 70%); overflow: hidden; }
#world { position: absolute; left: -200px; top: -120px; width: 2400px; height: 1320px; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); }
.b1 { width: 760px; height: 760px; left: 180px; top: 260px; background: #ff5a1f; opacity: 0.35; }
.b2 { width: 900px; height: 900px; left: 1200px; top: 80px; background: #2f6bff; opacity: 0.45; }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 120px 120px; }
#cap { position: absolute; inset: 0; z-index: 10; }
.grp { position: absolute; left: 0; bottom: 80px; width: 100%; display: flex; justify-content: center; opacity: 0; }
.card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 12px 44px 16px; background: rgba(10,12,18,0.84); border-radius: 28px; box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.row { display: flex; gap: 0.3em; justify-content: center; }
.cw { font-family: "Montserrat", sans-serif; font-weight: 800; text-transform: uppercase; color: #fff; line-height: 1.0; display: inline-block; clip-path: inset(-20% 100% -20% -10%); }
.cw.acc { color: var(--accent); }
/* footage plate (v2): real footage, pinned, no generated blobs */
#plate { background: #000 !important; }
#world { left: 0 !important; top: 0 !important; width: 1920px !important; height: 1080px !important; transform: none !important; }
#world .blob, #world .grid { display: none !important; }
#pv { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; object-fit: cover; }
#scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 100%); }
</style>
</head>
<body>
<div id="root" data-composition-id="main" data-start="0" data-duration="6.0" data-fps="24" data-width="1920" data-height="1080">
<div id="plate"><div id="world"><video id="pv" src="plate.mp4" muted playsinline data-start="0" data-duration="6.0"></video><div id="scrim"></div><div class="blob b1" id="b1"></div><div class="blob b2" id="b2"></div><div class="grid"></div></div></div>
<div id="cap"></div>
</div>
<script>
window.__timelines = window.__timelines || {};
(function () {
const v = window.__hyperframes.getVariables();
if (!v.plate) document.getElementById("plate").style.display = "none";
const tl = gsap.timeline({ paused: true });
tl.fromTo("#world", { x: 0, y: 0 }, { x: -160, y: -50, duration: 6.0, ease: "none" }, 0);
tl.fromTo("#b1", { x: 0, y: 0 }, { x: 140, y: -80, duration: 6.0, ease: "sine.inOut" }, 0);
tl.fromTo("#b2", { x: 0, y: 0 }, { x: -120, y: 100, duration: 6.0, ease: "sine.inOut" }, 0);
const GR = {"standard": [{"rows": [[["You", 0.04], ["broke", 0.46]], [["my", 1.1], ["heart.", 1.4, 1]]], "end": 2.34}, {"rows": [[["I", 2.86], ["know.", 3.1, 1]]], "end": 3.9}, {"rows": [[["You", 4.04], ["forgot", 4.28]], [["me", 4.74], ["on", 4.97], ["Earth.", 5.1, 1]]], "end": 5.9}], "long": [{"rows": [[["You", 0.04], ["broke", 0.46], ["my", 1.1], ["heart.", 1.4, 1]]], "end": 2.34}, {"rows": [[["I", 2.86], ["know.", 3.1, 1]]], "end": 3.9}, {"rows": [[["You", 4.04], ["forgot", 4.28], ["me", 4.74], ["on", 4.97], ["Earth.", 5.1, 1]]], "end": 5.9}]};
document.documentElement.style.setProperty("--accent", v.accent);
const cap = document.getElementById("cap");
const GS = GR[v.lines] || GR.standard;
GS.forEach((g, gi) => {
const s = g.rows[0][0][1];
const grp = document.createElement("div"); grp.className = "grp";
const card = document.createElement("div"); card.className = "card"; card.style.fontSize = v.size + "px";
const words = [];
g.rows.forEach((rw) => {
const row = document.createElement("div"); row.className = "row";
rw.forEach(([t, at, acc]) => {
const w = document.createElement("span"); w.className = "cw" + (acc ? " acc" : "");
w.textContent = t; row.appendChild(w);
words.push(w);
tl.fromTo(w, { clipPath: "inset(-20% 100% -20% -10%)" }, { clipPath: "inset(-20% -10% -20% -10%)", duration: 0.24, ease: "power3.out" }, at);
});
card.appendChild(row);
});
grp.appendChild(card); cap.appendChild(grp);
tl.fromTo(grp, { opacity: 0 }, { opacity: 1, duration: 0.1, ease: "none" }, s - 0.06);
tl.to(words, { clipPath: "inset(-20% -10% -20% 110%)", duration: 0.22, ease: "power2.in", stagger: 0.03 }, g.end - 0.3);
tl.to(grp, { opacity: 0, duration: 0.15, ease: "power2.in" }, g.end - 0.15);
});
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.
{"size":76,"accent":"#6ea8ff"}{"size":96,"accent":"#ff2d6f"}{"lines":"long","size":76}Spec and test details
- Engine
- HyperFrames 0.8.10, GSAP 3.14.2 (local copy)
- Length and frame rate
- 6 seconds at 24 fps, rendered at 1920x1080
- Video files on this page
- H.264: 1920x1080 for Expand (5676.4 KB), 1280x720 in the page (1647.1 KB), 640x360 in galleries (338.3 KB); the 1080p and 720p files carry the film's sound
- Picture check
- The 1080p file scores VMAF 99.48 against our render master and keeps 99% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
- Footage
- Celia close-up, Thom with the robot hand on his face, Celia again; 'You broke my heart. ... I know. You forgot me on Earth.' (Tears of Steel, 6:23)
- Tested in editors
- None yet
- Flash check
- Passed: at most 2 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 6-second master: 49.3 s (2 render workers, on the laptop above).
- full.mp4: 5676.4 KB
- hero.mp4: 1647.1 KB
- hero.webp: 34.7 KB
- tile.mp4: 338.3 KB
- tile.webp: 13 KB
- Variation "subtle": rendered in 54.7 s, 337.6 KB
- Variation "bold": rendered in 55.7 s, 337.2 KB
- Variation "long": rendered in 46.3 s, 339.7 KB
Credits
- Built from the HyperFrames registry component caption-clip-wipe 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.


