Effect #076 in our rendered series
Text select cursor
An I-beam drags across a wrapped sentence, the highlight band follows line by line, then the selection pulses.
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 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). 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.
Write a HyperFrames clip where a cursor drags across a sentence of template text to select it with a highlight band, then the selection pulses. Make the highlight colour and the sentence variables.
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 cursor-text-select, 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 (9 notes from the build log):
- Run 1 (2026-11-06): 0 errors, 1 warning (overlapping_gsap_tweens on #cursor 0.80s to 0.95s). Cause: the lint reads positions statically and could not follow a running `t += d` counter, so it thought the release move started at 0.75 s. Fix: computed every start time from closed-form arithmetic (start of line k = 0.75 + sweep share + gap * k). Also added a fallback so an empty sentence variable cannot break the layout.
- Run 2: 0 errors, 0 warnings.
- Long-sentence variation was first too long (over the 118 character cap, would have cut mid-word); shortened it to fit three lines.
- Layout uses fixed 30px character cells and my own line wrapping, so the band and cursor positions do not depend on a web font finishing loading. Highlight sits at 0.42 opacity behind dark text so any highlight colour keeps text contrast above 4.5:1; the pulse uses a ring and scaleY, not opacity, for the same reason.
- Decided against: a mock-app logo or any real brand text; only template words are used.
- lint 0 errors, 0 warnings. hyperframes check: "Check passed" (the only layout items are info lines about the shared background plate drifting past its frame, by design).
- Flash check (WCAG 2.3.1 approximation, whole loop): pass, 0 general and 0 red flashes per second.
- Four 1920 px frames looked at by eye across the loop: no clipped object, no text overlap, no stray mark, contrast fine at settled frames. No fault found, nothing changed.
- Every number on screen comes from our own measured test results (labelled Measured by us, 2026); frames and the poster were checked by eye.
With HyperFrames code
Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.
npx hyperframes add cursor-text-select
npx hyperframes render . -o out.mp4 --fps 24Settings you can change without rebuilding (pass them with --variables):
| Setting | Name | Type | Default |
|---|---|---|---|
| Highlight colour | color | color | #ffd84d |
| Sentence | sentence | string | Two-pass loudnorm finals landed at -16.0, -16.0 and -15.9 LUFS. |
| Show background | plate | boolean | true |
Our full composition (index.html, 11 KB)
<!doctype html>
<html lang="en" data-composition-variables='[{"id": "color", "type": "color", "label": "Highlight colour", "default": "#ffd84d"}, {"id": "sentence", "type": "string", "label": "Sentence", "default": "Two-pass loudnorm finals landed at -16.0, -16.0 and -15.9 LUFS."}, {"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=Inter:wght@600;700&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; }
#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; }
#cursor { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 30; opacity: 0; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.45)); }
#cursor svg { position: absolute; }
#doc { position: absolute; left: 260px; top: 160px; width: 1400px; height: 760px; background: #ffffff; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); overflow: hidden; }
#dbar { position: absolute; left: 0; top: 0; right: 0; height: 80px; background: #e8ebf4; }
.dt { position: absolute; top: 32px; width: 16px; height: 16px; border-radius: 50%; background: #aab2c8; }
#dbar .ttl { position: absolute; left: 130px; top: 0; font-family: "Inter", sans-serif; font-weight: 700; font-size: 26px; line-height: 80px; color: #2a3045; }
#sub { position: absolute; left: 360px; top: 280px; font-family: "Inter", sans-serif; font-weight: 600; font-size: 28px; line-height: 36px; color: #4a5168; z-index: 3; }
.sk { position: absolute; left: 360px; height: 16px; border-radius: 8px; background: #dfe3ee; z-index: 3; }
#text { position: absolute; left: 360px; top: 360px; width: 1200px; height: 300px; z-index: 4; }
.line { position: absolute; left: 0; width: 1200px; height: 100px; white-space: nowrap; }
.band { position: absolute; top: 12px; height: 76px; border-radius: 10px; background: var(--hl); opacity: 0.42; transform-origin: 0% 50%; z-index: 1; }
.ring { position: absolute; top: 6px; height: 88px; border-radius: 14px; border: 4px solid var(--hl); opacity: 0; z-index: 1; }
.c { position: relative; z-index: 2; display: inline-block; width: 30px; height: 100px; text-align: center; font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 50px; line-height: 100px; color: #141824; }
#cursor .beam { left: -10px; top: -22px; opacity: 0; }
/* 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: rgba(0,0,0,0.35); }
/* data family v2: dashboard window over dimmed footage */
#scrim { background: rgba(4,6,12,0.58) !important; }
.win { position: absolute; border-radius: 26px; background: rgba(11,15,25,0.94); border: 2px solid rgba(255,255,255,0.16); box-shadow: 0 30px 80px rgba(0,0,0,0.55); overflow: hidden; font-family: "Inter", "Montserrat", sans-serif; }
.win .bar { position: absolute; left: 0; right: 0; top: 0; height: 64px; background: rgba(255,255,255,0.06); border-bottom: 2px solid rgba(255,255,255,0.10); display: flex; align-items: center; padding-left: 28px; gap: 12px; color: #aab3c5; font-size: 24px; font-weight: 500; }
.win .bar i { width: 16px; height: 16px; border-radius: 50%; background: #ff5f57; display: block; }
.win .bar i:nth-child(2) { background: #febc2e; } .win .bar i:nth-child(3) { background: #28c840; }
.win .bar b { margin-left: 18px; font-weight: 500; }
.chip { position: absolute; font-family: "Inter", "Montserrat", sans-serif; font-weight: 700; font-size: 26px; padding: 8px 20px; border-radius: 999px; background: rgba(255,210,63,0.14); border: 2px solid #ffd23f; color: #ffd23f; white-space: nowrap; }
</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="plate"><div id="world"><video id="pv" src="plate.mp4" muted playsinline data-start="0" data-duration="5"></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="doc"><div id="dbar"><i class="dt" style="left:36px"></i><i class="dt" style="left:64px"></i><i class="dt" style="left:92px"></i><div class="ttl">Agentic Video Editing / test notes</div></div></div>
<div id="sub">Audio loudness, measured by us, 2026 (target -16 LUFS)</div>
<div id="text"></div>
<i class="sk" style="top:730px;width:520px"></i><i class="sk" style="top:776px;width:360px"></i>
<div id="cursor"><svg class="arrow" width="44" height="52" viewBox="0 0 44 52" style="left:-3px;top:-3px"><path d="M3 3 L3 37 L12 29 L18.5 44 L25 41 L18.5 27 L30 27 Z" fill="#ffffff" stroke="#111111" stroke-width="3" stroke-linejoin="round"/></svg><svg class="beam" width="20" height="44" viewBox="0 0 20 44"><path d="M3 3 H8.5 Q10 3 10 5 V7 M17 3 H11.5 Q10 3 10 5 M10 7 V37 M10 37 V39 Q10 41 11.5 41 H17 M10 39 Q10 41 8.5 41 H3" fill="none" stroke="#111111" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 3 H8.5 Q10 3 10 5 V7 M17 3 H11.5 Q10 3 10 5 M10 7 V37 M10 37 V39 Q10 41 11.5 41 H17 M10 39 Q10 41 8.5 41 H3" fill="none" stroke="#ffffff" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
</div>
<script>
window.__timelines = window.__timelines || {};
(function () {
const v = window.__hyperframes.getVariables();
const tl = gsap.timeline({ paused: true });
if (!v.plate) document.getElementById("plate").style.display = "none";
const E = (n) => gsap.parseEase(n);
const rgba = (hex, a) => {
let h = String(hex).replace("#", "");
if (h.length === 3) h = h.split("").map((c) => c + c).join("");
const n = parseInt(h, 16);
return "rgba(" + ((n >> 16) & 255) + "," + ((n >> 8) & 255) + "," + (n & 255) + "," + a + ")";
};
const invEase = (fn, s) => { let lo = 0, hi = 1; for (let i = 0; i < 30; i++) { const m = (lo + hi) / 2; if (fn(m) < s) lo = m; else hi = m; } return (lo + hi) / 2; };
const mk = (tag, cls, parent, html) => { const e = document.createElement(tag); if (cls) e.className = cls; if (html != null) e.innerHTML = html; parent.appendChild(e); return e; };
const root = document.getElementById("root");
root.style.setProperty("--hl", v.color);
const CELL = 30, COLS = 40, LH = 100, TX = 360, TY = 360;
const sentence = (String(v.sentence == null ? "" : v.sentence).replace(/\s+/g, " ").trim() || "Target loudness is -16 LUFS.").slice(0, 118);
// greedy wrap into fixed 30px cells, so layout does not depend on font loading
const lines = []; let cur = "";
sentence.split(" ").forEach((w) => {
w = w.slice(0, COLS);
if (cur && (cur + " " + w).length > COLS) { lines.push(cur); cur = w; } else cur = cur ? cur + " " + w : w;
});
if (cur) lines.push(cur);
const total = lines.reduce((a, l) => a + l.length, 0);
const host = document.getElementById("text");
const els = lines.map((txt, k) => {
const ln = mk("div", "line", host); ln.style.top = k * LH + "px";
const band = mk("div", "band", ln); band.style.left = "-6px"; band.style.width = txt.length * CELL + 12 + "px";
const ring = mk("div", "ring", ln); ring.style.left = "-12px"; ring.style.width = txt.length * CELL + 24 + "px";
for (const ch of txt) { const c = mk("span", "c", ln); c.textContent = ch === " " ? "\u00a0" : ch; }
return { band, ring, n: txt.length, y: TY + k * LH + 50 };
});
tl.set("#cursor", { x: 1500, y: 250, transformOrigin: "3px 3px" }, 0);
tl.to("#cursor", { opacity: 1, duration: 0.2, ease: "power1.out" }, 0.05);
tl.to("#cursor", { x: TX - 2, duration: 0.55, ease: "power2.inOut" }, 0.05);
tl.to("#cursor", { y: els[0].y, duration: 0.55, ease: "power3.inOut" }, 0.05);
// arrow turns into an I-beam as it reaches the text
tl.to(".arrow", { opacity: 0, duration: 0.08 }, 0.55);
tl.to(".beam", { opacity: 1, duration: 0.08 }, 0.55);
// drag
const SWEEP = 1.7, GAP = 0.2, S0 = 0.75;
let used = 0;
els.forEach((L, k) => {
const d = SWEEP * L.n / total, ts = S0 + SWEEP * used / total + GAP * k;
used += L.n;
tl.fromTo(L.band, { scaleX: 0 }, { scaleX: 1, duration: d, ease: "none" }, ts);
tl.fromTo("#cursor", { x: TX - 2 }, { x: TX - 2 + L.n * CELL, duration: d, ease: "none", immediateRender: false }, ts);
if (k < els.length - 1) tl.to("#cursor", { x: TX - 2, y: els[k + 1].y, duration: GAP, ease: "power2.inOut" }, ts + d);
});
const T = S0 + SWEEP + GAP * (els.length - 1);
// release: the cursor steps aside and the selection pulses twice
tl.to("#cursor", { x: 1560, y: 820, duration: 0.5, ease: "power2.inOut" }, T + 0.05);
tl.to(".beam", { opacity: 0, duration: 0.1 }, T + 0.2);
tl.to(".arrow", { opacity: 1, duration: 0.1 }, T + 0.2);
[T + 0.1, T + 0.65].forEach((p) => {
els.forEach((L) => {
tl.to(L.band, { scaleY: 1.14, duration: 0.14, ease: "power2.out" }, p);
tl.to(L.band, { scaleY: 1, duration: 0.3, ease: "power2.inOut" }, p + 0.14);
tl.fromTo(L.ring, { opacity: 0, scale: 0.97 }, { opacity: 0.9, scale: 1, duration: 0.14, ease: "power2.out", immediateRender: false }, p);
tl.to(L.ring, { opacity: 0, scale: 1.04, duration: 0.35, ease: "power1.in" }, p + 0.14);
});
});
// clear so the loop restarts clean
tl.to(["#cursor"], { opacity: 0, duration: 0.3, ease: "power1.in" }, 4.55);
els.forEach((L) => { tl.to(L.band, { opacity: 0, duration: 0.3, ease: "power1.in" }, 4.55); });
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":"#7aa7ff","sentence":"Target loudness is -16 LUFS."}{"color":"#ff2d6f"}{"sentence":"Single pass finals landed at -16.0, -13.9 and -16.8 LUFS, so we measure first and apply a second pass."}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 (1938.5 KB), 1280x720 in the page (552.4 KB), 640x360 in galleries (140.9 KB), no audio
- Picture check
- The 1080p file scores VMAF 98.11 against our render master and keeps 100% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
- Footage
- wide cathedral interior with organ pipes, a figure hanging on a rope, cool light (Tears of Steel, 2:32)
- Tested in editors
- None yet
- Flash check
- Passed: at most 0 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: 43.2 s (2 render workers, on the laptop above).
- full.mp4: 1938.5 KB
- hero.mp4: 552.4 KB
- hero.webp: 35.4 KB
- tile.mp4: 140.9 KB
- tile.webp: 11.7 KB
- Variation "subtle": rendered in 36.6 s, 128.9 KB
- Variation "bold": rendered in 33.4 s, 145 KB
- Variation "long": rendered in 38.9 s, 155.7 KB
Credits
- Built from the HyperFrames registry component cursor-text-select 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.


