Effect #015 in our rendered series
Matrix decode captions
Each phrase decodes from scrambled characters into the real words, for tech, AI and gaming videos.
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 a 5 second caption demo where each phrase decodes from scrambled characters into the real words, fast but readable, monospace style, with a transparent background option.
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-matrix-decode, 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 (4 notes from the build log):
- Lint run 1 (2026-11-05): 0 errors, 0 warnings.
- What changed from the registry block: Registry block stacks scramble layers toggled with autoAlpha; replaced with one seeded render function driven by a proxy tween, so there is one element per character.
- Decided against: using Math.random, Date, CDN GSAP, and any live measuring of text for layout.
- v2 (7 Nov 2026): rebuilt on Tears of Steel footage (plate dlg_there: 231.85 to 238.5 s, the Captain beside Old Thom, then a wide shot from behind) with the film's sound; each word starts decoding from scrambled characters when it is spoken in 'There she is. Now, you love her. She's your passion.' Decode takes 0.22 s per character, characters 20 ms apart inside a word. Word times: medium.en + envelope onsets (Now 1.83, you 3.60, She's 5.63; the plate starts 0.35 s later than first planned so the first word shows by 0.5 s); the 1.5 s pause after 'Now,' keeps the caption off screen. Caption 80 px above the bottom edge, 76 to 96 px; length 6.65 s.
With HyperFrames code
Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.
npx hyperframes add caption-matrix-decode
npx hyperframes render . -o out.mp4 --fps 24Settings you can change without rebuilding (pass them with --variables):
| Setting | Name | Type | Default |
|---|---|---|---|
| Decoded text colour | color | color | #3dff8a |
| Text size (px) | size | number | 88 |
| Scramble characters | charset | enum | letters |
| Show background | plate | boolean | true |
Our full composition (index.html, 7 KB)
<!doctype html>
<html lang="en" data-composition-variables='[{"id":"color","type":"color","label":"Decoded text colour","default":"#3dff8a"},{"id":"size","type":"number","label":"Text size (px)","default":88,"min":76,"max":96},{"id":"charset","type":"enum","label":"Scramble characters","default":"letters","options":[{"value":"letters","label":"Letters and digits"},{"value":"symbols","label":"Code symbols"},{"value":"binary","label":"Binary"}]},{"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=JetBrains+Mono: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: #0f9d58; opacity: 0.35; }
.b2 { width: 900px; height: 900px; left: 1200px; top: 80px; background: #0b3d91; 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; bottom: 80px; left: 0; width: 100%; display: flex; justify-content: center; opacity: 0; visibility: hidden; }
.line { font-family: "JetBrains Mono", monospace; font-weight: 800; white-space: pre; line-height: 1.2; letter-spacing: 0; display: flex; }
.c { display: inline-block; width: 0.6em; text-align: center; }
/* 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="cap"></div>
</div>
<script>
window.__timelines = window.__timelines || {};
(function () {
const v = Object.assign({}, {"color": "#3dff8a", "size": 88, "charset": "letters", "plate": true}, window.__hyperframes.getVariables());
const tl = gsap.timeline({ paused: true });
if (!v.plate) document.getElementById("plate").style.display = "none";
tl.fromTo("#world", { x: 0, y: 0 }, { x: -160, y: -50, duration: 6.65, ease: "none" }, 0);
tl.fromTo("#b1", { x: 0, y: 0 }, { x: 140, y: -80, duration: 6.65, ease: "sine.inOut" }, 0);
tl.fromTo("#b2", { x: 0, y: 0 }, { x: -120, y: 100, duration: 6.65, ease: "sine.inOut" }, 0);
function mulberry32(seed) {
return function () {
seed |= 0; seed = (seed + 0x6d2b79f5) | 0;
let t = Math.imul(seed ^ (seed >>> 15), 1 | seed);
t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
};
}
const POOLS = { letters: "ABCDEFGHJKLMNPQRSTUVWXYZabcdefghkmnpqrstuvwxyz0123456789", symbols: "{}[]<>/\\|=+*#%&$@?!~^", binary: "01" };
const pool = POOLS[v.charset] || POOLS.letters;
const PHR = [{"text": "There she is.", "start": 0.29, "end": 1.6, "cs": [0.29, 0.31, 0.33, 0.35, 0.37, null, 0.6, 0.62, 0.64, null, 0.99, 1.01, 1.03]}, {"text": "Now,", "start": 1.83, "end": 2.47, "cs": [1.83, 1.85, 1.87, 1.89]}, {"text": "you love her.", "start": 3.6, "end": 5.0, "cs": [3.6, 3.62, 3.64, null, 3.75, 3.77, 3.79, 3.81, null, 4.13, 4.15, 4.17, 4.19]}, {"text": "She's your passion.", "start": 5.63, "end": 6.55, "cs": [5.63, 5.65, 5.67, 5.69, 5.71, null, 5.85, 5.87, 5.89, 5.91, null, 6.05, 6.07, 6.09, 6.11, 6.13, 6.15, 6.17, 6.19]}];
const cap = document.getElementById("cap");
const GLOW = "0 0 18px " + v.color + "88";
const chars = [];
PHR.forEach((p, pi) => {
const grp = document.createElement("div"); grp.className = "grp"; grp.id = "g" + pi;
const line = document.createElement("div"); line.className = "line"; line.style.fontSize = v.size + "px";
Array.from(p.text).forEach((ch, i) => {
const c = document.createElement("span"); c.className = "c"; c.textContent = ch === " " ? "\u00a0" : ch;
line.appendChild(c);
chars.push({ el: c, real: ch, w0: p.cs[i], w1: p.cs[i] + 0.22, pi, i, state: "" });
});
grp.appendChild(line); cap.appendChild(grp);
tl.set(grp, { visibility: "visible" }, p.start - 0.02);
tl.fromTo(grp, { opacity: 0 }, { opacity: 1, duration: 0.08, ease: "none" }, p.start - 0.02);
tl.to(grp, { opacity: 0, duration: 0.14, ease: "power2.in" }, p.end - 0.14);
tl.set(grp, { visibility: "hidden" }, p.end);
});
function render(t) {
for (const c of chars) {
if (c.real === " ") continue;
let st, txt;
if (t < c.w0) { st = "pre"; txt = pool[Math.floor(mulberry32(c.pi * 977 + c.i * 31)() * pool.length)]; }
else if (t < c.w1) { const f = Math.floor((t - c.w0) * 24 / 2); st = "s" + f; txt = pool[Math.floor(mulberry32(c.pi * 7919 + c.i * 131 + f * 104729)() * pool.length)]; }
else { st = "real"; txt = c.real; }
if (st === c.state) continue;
c.state = st; c.el.textContent = txt;
if (st === "real") { c.el.style.color = v.color; c.el.style.opacity = "1"; c.el.style.textShadow = GLOW; }
else { c.el.style.color = v.color; c.el.style.opacity = "0.45"; c.el.style.textShadow = "none"; }
}
}
const proxy = { t: 0 };
tl.to(proxy, { t: 6.65, duration: 6.65, ease: "none", onUpdate: () => render(proxy.t) }, 0);
render(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.
{"color":"#b6ffd2","size":76,"charset":"binary"}{"color":"#27e5ff","size":96}{"charset":"symbols"}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 (6324.9 KB), 1280x720 in the page (2658.7 KB), 640x360 in galleries (457.8 KB); the 1080p and 720p files carry the film's sound
- Picture check
- The 1080p file scores VMAF 96.01 against our render master and keeps 91% 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: 76.6 s (2 render workers, on the laptop above).
- full.mp4: 6324.9 KB
- hero.mp4: 2658.7 KB
- hero.webp: 88.9 KB
- tile.mp4: 457.8 KB
- tile.webp: 29.9 KB
- Variation "subtle": rendered in 81.5 s, 448.7 KB
- Variation "bold": rendered in 87.5 s, 459.5 KB
- Variation "symbols": rendered in 75 s, 458 KB
Credits
- Built from the HyperFrames registry component caption-matrix-decode 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.


