Effect #042 in our rendered series
Glitch captions
Short phrases land with a brief RGB split in controlled windows, then settle into clean text on a backed card.
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 glitch captions: short phrases appear with a brief RGB-split glitch, then settle into clean readable text on a backed card, with a transparent background option. Glitch happens in short controlled windows, never a strobe.
What changed since this prompt: the demo on this page is our second version, 6.7 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-glitch-rgb, 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 transcript-driven word groups became three template phrases on the 0.4, 1.9 and 3.4 s beats; each sits on a dark backed card; the glitch is now a few hard seeded steps (x offset, RGB text-shadow split, optional skew) then a clean settle, plus one smaller glitch before exit. Intensity, phrase length and glitch colour are variables.
- Words are separate spans joined by real space text nodes.
- Decided against: Math.random, CDN GSAP, scanlines, any full-frame flash, tweening visibility.
- v2 (7 Nov 2026): rebuilt on Tears of Steel footage (plate dlg_there, 6.65 s: 231.85 to 238.5 s) with the film's sound; every word glitches in (RGB split, offset steps) on its spoken start in 'There she is. Now, you love her. She's your passion.' and the card glitches out before the next phrase. Words stay hidden until spoken; the 1.5 s pause after 'Now,' leaves the screen empty. Card 20 px padding, 80 px above the bottom edge, 88 px text (76 px in the long variation). Word times: medium.en + envelope onsets (Now 1.83, you 3.60, She's 5.63).
With HyperFrames code
Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.
npx hyperframes add caption-glitch-rgb
npx hyperframes render . -o out.mp4 --fps 24Settings you can change without rebuilding (pass them with --variables):
| Setting | Name | Type | Default |
|---|---|---|---|
| Glitch intensity | intensity | enum | normal |
| Phrase length | phrase | enum | short |
| Glitch colour | accent | color | #ff003c |
| Show background | plate | boolean | true |
Our full composition (index.html, 8 KB)
<!doctype html>
<html lang="en" data-composition-variables='[
{"id":"intensity","type":"enum","label":"Glitch intensity","default":"normal","options":[{"value":"subtle","label":"Subtle"},{"value":"normal","label":"Normal"},{"value":"bold","label":"Bold"}]},
{"id":"phrase","type":"enum","label":"Phrase length","default":"short","options":[{"value":"short","label":"Short phrases"},{"value":"long","label":"Long phrases"}]},
{"id":"accent","type":"color","label":"Glitch colour","default":"#ff003c"},
{"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=Space+Grotesk:wght@700&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: var(--accent); 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; left: 0; top: 0; width: 1920px; height: 1080px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 80px; }
.card { max-width: 1680px; padding: 20px 48px 24px; border-radius: 24px; background: rgba(12,14,22,0.9); border: 2px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; filter: drop-shadow(0 16px 28px rgba(0,0,0,0.4)); }
.w { display: inline-block; font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; color: #ffffff; line-height: 1.05; letter-spacing: 0.02em; white-space: pre; }
.sp { display: inline-block; white-space: pre; }
/* 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.65" 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.65"></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="caps"></div>
</div>
<script>
window.__timelines = window.__timelines || {};
(function () {
const v = window.__hyperframes.getVariables();
const root = document.getElementById("root");
const ACC = v.accent || "#ff003c";
root.style.setProperty("--accent", ACC);
if (!v.plate) document.getElementById("plate").style.display = "none";
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 PRESETS = { subtle: { mag: 4, steps: 3, skew: 0 }, normal: { mag: 9, steps: 4, skew: 0 }, bold: { mag: 16, steps: 6, skew: 7 } };
const P = PRESETS[v.intensity] || PRESETS.normal;
const LONG = v.phrase === "long";
const GR = {"short": [{"w": [["There", 0.29, 0.58], ["she", 0.6, 0.95], ["is.", 0.99, 1.2]], "end": 1.78}, {"w": [["Now,", 1.83, 2.07]], "end": 2.77}, {"w": [["you", 3.6, 3.75], ["love", 3.75, 4.11], ["her.", 4.13, 4.6]], "end": 5.3}, {"w": [["She's", 5.63, 5.85], ["your", 5.85, 6.03], ["passion.", 6.05, 6.51]], "end": 6.63}], "long": [{"w": [["There", 0.29, 0.58], ["she", 0.6, 0.95], ["is.", 0.99, 1.2], ["Now,", 1.83, 2.07]], "end": 2.77}, {"w": [["you", 3.6, 3.75], ["love", 3.75, 4.11], ["her.", 4.13, 4.6]], "end": 5.3}, {"w": [["She's", 5.63, 5.85], ["your", 5.85, 6.03], ["passion.", 6.05, 6.51]], "end": 6.63}]};
const G = LONG ? GR.long : GR.short;
const FS = LONG ? 76 : 88;
const BASE = "0px 0 " + ACC + ", 0px 0 #00e5ff, 0 4px 14px rgba(0,0,0,0.4)";
function shadow(m) { return m + "px 0 " + ACC + ", -" + m + "px 0 #00e5ff, 0 4px 14px rgba(0,0,0,0.4)"; }
const tl = gsap.timeline({ paused: true });
const capsEl = document.getElementById("caps");
G.forEach(function (g, i) {
const cap = document.createElement("div"); cap.className = "cap";
const card = document.createElement("div"); card.className = "card";
const wEls = [];
g.w.forEach(function (wv, wi) {
const s = document.createElement("span"); s.className = "w"; s.textContent = wv[0]; s.style.fontSize = FS + "px"; s.style.textShadow = BASE;
card.appendChild(s); wEls.push(s);
gsap.set(s, { opacity: 0 });
if (wi < g.w.length - 1) { const sp = document.createElement("span"); sp.className = "sp"; sp.style.fontSize = FS + "px"; sp.textContent = " "; card.appendChild(sp); }
});
cap.appendChild(card); capsEl.appendChild(cap);
gsap.set(cap, { opacity: 0 });
const t0 = g.w[0][1] - 0.05, t1 = g.end;
tl.set(cap, { opacity: 1 }, t0);
tl.fromTo(card, { opacity: 0, scale: 0.94, y: 24 }, { opacity: 1, scale: 1, y: 0, duration: 0.16, ease: "power2.out" }, t0);
const lastS = g.w[g.w.length - 1][1];
wEls.forEach(function (el, wi) {
const rng = mulberry32(i * 131 + wi * 17 + 5);
const ws = g.w[wi][1];
tl.set(el, { opacity: 1 }, ws);
for (let k = 0; k < P.steps; k++) {
const dir = rng() < 0.5 ? -1 : 1;
const m = Math.round(P.mag * (0.5 + rng() * 0.7));
tl.set(el, { x: dir * m * 0.8, skewX: P.skew ? dir * P.skew * rng() : 0, textShadow: shadow(m) }, ws + k * 0.045);
}
tl.to(el, { x: 0, skewX: 0, textShadow: BASE, duration: 0.16, ease: "power3.out" }, ws + P.steps * 0.045);
const es = Math.max(t1 - 0.4, lastS + 0.45) + 0.02 * wi;
const m2 = Math.max(2, Math.round(P.mag * 0.6));
tl.set(el, { x: m2 * 0.6, textShadow: shadow(m2) }, es);
tl.set(el, { x: -m2 * 0.4, textShadow: shadow(m2) }, es + 0.05);
tl.to(el, { x: 0, textShadow: BASE, duration: 0.12, ease: "power3.out" }, es + 0.1);
});
tl.to(card, { opacity: 0, y: -10, duration: 0.18, ease: "power2.in" }, t1 - 0.18);
tl.set(cap, { opacity: 0 }, t1);
});
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.
{"intensity":"subtle"}{"intensity":"bold","accent":"#ff2d6f"}{"phrase":"long"}Spec and test details
- Engine
- HyperFrames 0.8.10, GSAP 3.14.2 (local copy)
- Length and frame rate
- 6.664 seconds at 24 fps, rendered at 1920x1080
- Video files on this page
- H.264: 1920x1080 for Expand (6350.3 KB), 1280x720 in the page (2688.4 KB), 640x360 in galleries (461.4 KB); the 1080p and 720p files carry the film's sound
- Picture check
- The 1080p file scores VMAF 97.42 against our render master and keeps 96% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
- Footage
- The Captain beside Old Thom, then a wide shot from behind; 'There she is. Now, you love her. She's your passion.' (Tears of Steel, 3:51)
- 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 7-second master: 90.3 s (2 render workers, on the laptop above).
- full.mp4: 6350.3 KB
- hero.mp4: 2688.4 KB
- hero.webp: 85.5 KB
- tile.mp4: 461.4 KB
- tile.webp: 28.2 KB
- Variation "subtle": rendered in 75.2 s, 455.1 KB
- Variation "bold": rendered in 89.7 s, 472.5 KB
- Variation "long": rendered in 83.1 s, 457.1 KB
Credits
- Built from the HyperFrames registry component caption-glitch-rgb 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.


