Effect #092 in our rendered series
Decline line chart
A sample line draws downward while a large readout counts down with the line head, on clearly labelled sample data.
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 line chart draws downward while its value counts down beside it, using clearly labelled sample data. Make the line colour, the end value and the speed 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 decline-chart, 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 (6 notes from the build log):
- lint 0 errors, 0 warnings.
- hyperframes check: Check passed, no flags.
- Flash check (WCAG 2.3.1 approximation, whole loop): pass, 0 general and 0 red flashes per second; the three variations and the real-edit composite pass too.
- Four 1920 px frames saved in renders/review_083plus/decline-line-chart/ and looked at by eye. Fault found by looking: a faint disc appeared for one frame at 3.3 s, far from the line head (around the T8 label). The end-of-line pulse was a GSAP scale on an SVG circle whose position was set per frame; the scale origin was taken at the wrong place. Fixed: the pulse circle is fixed at the end point and its radius is tweened. Re-rendered and looked at frames 3.3 to 3.6 s: the pulse grows around the head dot and fades.
- Status: QA_HOLD in tools/build_pack.py. Not published until the review pass releases it.
- 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 decline-chart
npx hyperframes render . -o out.mp4 --fps 24Settings you can change without rebuilding (pass them with --variables):
| Setting | Name | Type | Default |
|---|---|---|---|
| Line colour | line_color | color | #ff4d6d |
| Measurement | series | enum | captions |
| Speed | speed | number | 1 |
| Show background | plate | boolean | true |
Our full composition (index.html, 11 KB)
<!doctype html>
<html lang="en" data-composition-variables='[{"id":"line_color","type":"color","label":"Line colour","default":"#ff4d6d"},{"id":"series","type":"enum","label":"Measurement","default":"captions","options":[{"value":"captions","label":"HyperFrames caption render"},{"value":"whisper","label":"Transcribe, Whisper small.en"}]},{"id":"speed","type":"number","label":"Speed","default":1,"min":0.8,"max":2},{"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&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; }
#layout { position: absolute; inset: 0; opacity: 0; font-family: "Space Grotesk", sans-serif; color: #fff; }
#title { position: absolute; left: 220px; top: 150px; font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 25px; letter-spacing: 0.04em; color: rgba(226,232,240,0.9); }
#chip { position: absolute; left: 220px; top: 212px; color: #ffd23f !important; border-color: #ffd23f !important; padding: 8px 18px; border: 2px solid rgba(226,232,240,0.45); border-radius: 999px; font-family: "JetBrains Mono", monospace; font-size: 24px; color: rgba(226,232,240,0.85); }
#val::after { content: ' s'; font-size: 84px; letter-spacing: 0; }
#val { position: absolute; right: 250px; top: 150px; width: 640px; text-align: right; font-weight: 700; font-size: 190px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
#ch { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: visible; }
.ax { font-family: "JetBrains Mono", monospace; font-size: 24px; fill: rgba(203,213,225,0.7); }
/* 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 class="win" style="left:150px;top:70px;width:1620px;height:940px"><div class="bar"><i></i><i></i><i></i><b>Agentic Video Editing / test results / run time</b></div></div>
<div id="layout">
<div id="title">RENDER TIME PER RUN, 60 S CLIP</div>
<div id="chip">Measured by us, 2026</div>
<div id="val">96</div>
<svg id="ch" viewBox="0 0 1920 1080">
<defs>
<clipPath id="reveal"><rect id="rr" x="260" y="300" width="0" height="680"></rect></clipPath>
<linearGradient id="fillg" x1="0" y1="0" x2="0" y2="1"><stop id="s1" offset="0" stop-color="#ff4d6d" stop-opacity="0.38"></stop><stop id="s2" offset="1" stop-color="#ff4d6d" stop-opacity="0"></stop></linearGradient>
</defs>
<g id="gridg"></g>
<path id="area" fill="url(#fillg)" clip-path="url(#reveal)" d=""></path>
<path id="line" fill="none" stroke="#ff4d6d" stroke-width="10" stroke-linecap="round" stroke-linejoin="round" d=""></path>
<circle id="halo" r="30" fill="#ff4d6d" opacity="0"></circle>
<circle id="head" r="15" fill="#fff" stroke="#ff4d6d" stroke-width="7" opacity="0"></circle>
</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 num = (x, d, lo, hi) => { x = Number(x); if (!isFinite(x)) x = d; return Math.max(lo, Math.min(hi, x)); };
const speed = num(v.speed, 1, 0.8, 2);
const col = String(v.line_color || "#ff4d6d");
const end = num(v.end_value, 34, 0, 90);
const start = 96;
const X0 = 260, X1 = 1700, Y0 = 340, Y1 = 920, HH = Y1 - Y0, N = 4;
const NS = "http://www.w3.org/2000/svg";
const SERIES = { captions: { t: "HYPERFRAMES CAPTION RENDER, 60 S CLIP, SECONDS PER RUN", max: 320, v: [310.59, 248.88, 224.86, 224.73] }, whisper: { t: "TRANSCRIBE, WHISPER SMALL.EN, 60 S CLIP, SECONDS PER RUN", max: 200, v: [175.43, 32.18, 29.74, 21.4] } };
const SER = SERIES[v.series] || SERIES.captions, MAXV = SER.max;
document.getElementById("title").textContent = SER.t;
const yOf = function (val) { return Y0 + (1 - val / MAXV) * HH; };
// grid lines and axis labels (sample scale 0 to 100, periods T1 to T12)
const gg = document.getElementById("gridg");
[0, 0.25, 0.5, 0.75, 1].map(function (f) { return Math.round(f * MAXV); }).forEach(function (g) {
const ln = document.createElementNS(NS, "line");
ln.setAttribute("x1", X0); ln.setAttribute("x2", X1); ln.setAttribute("y1", yOf(g)); ln.setAttribute("y2", yOf(g));
ln.setAttribute("stroke", "rgba(148,163,184,0.22)"); ln.setAttribute("stroke-width", 2);
gg.appendChild(ln);
const tx = document.createElementNS(NS, "text");
tx.setAttribute("class", "ax"); tx.setAttribute("x", X0 - 24); tx.setAttribute("y", yOf(g) + 8); tx.setAttribute("text-anchor", "end");
tx.textContent = String(g); gg.appendChild(tx);
});
for (let i = 0; i < N; i++) {
const tx = document.createElementNS(NS, "text");
tx.setAttribute("class", "ax"); tx.setAttribute("x", X0 + i * (X1 - X0) / (N - 1)); tx.setAttribute("y", Y1 + 56); tx.setAttribute("text-anchor", "middle");
tx.textContent = ["Run 1, cold", "Run 2", "Run 3", "Run 4"][i]; gg.appendChild(tx);
}
// our measured series: seconds for four runs in a row (cold start first)
const pts = [];
for (let i = 0; i < N; i++) pts.push([X0 + (i / (N - 1)) * (X1 - X0), yOf(SER.v[i])]);
let d = "M " + pts[0][0] + " " + pts[0][1].toFixed(1);
for (let i = 0; i < N - 1; i++) {
const p0 = pts[Math.max(0, i - 1)], p1 = pts[i], p2 = pts[i + 1], p3 = pts[Math.min(N - 1, i + 2)];
const c1x = p1[0] + (p2[0] - p0[0]) / 6, c1y = p1[1] + (p2[1] - p0[1]) / 6;
const c2x = p2[0] - (p3[0] - p1[0]) / 6, c2y = p2[1] - (p3[1] - p1[1]) / 6;
d += " C " + c1x.toFixed(1) + " " + c1y.toFixed(1) + " " + c2x.toFixed(1) + " " + c2y.toFixed(1) + " " + p2[0].toFixed(1) + " " + p2[1].toFixed(1);
}
const line = document.getElementById("line"), area = document.getElementById("area");
line.setAttribute("d", d); line.setAttribute("stroke", col);
area.setAttribute("d", d + " L " + X1 + " " + Y1 + " L " + X0 + " " + Y1 + " Z");
document.getElementById("s1").setAttribute("stop-color", col); document.getElementById("s2").setAttribute("stop-color", col);
const head = document.getElementById("head"), halo = document.getElementById("halo");
head.setAttribute("stroke", col); halo.setAttribute("fill", col);
const rr = document.getElementById("rr"), valEl = document.getElementById("val");
valEl.style.color = "#fff";
const L = line.getTotalLength();
line.style.strokeDasharray = L + " " + L;
const P = { p: 0 };
const endPt = line.getPointAtLength(L); halo.setAttribute("cx", endPt.x); halo.setAttribute("cy", endPt.y);
function paint() {
const len = L * P.p;
line.style.strokeDashoffset = String(L - len);
const pt = line.getPointAtLength(len);
rr.setAttribute("width", Math.max(0, pt.x - X0 + 2));
head.setAttribute("cx", pt.x); head.setAttribute("cy", pt.y);
head.setAttribute("opacity", P.p > 0.002 ? 1 : 0);
// the readout is the height of the line head on the 0 to 100 scale
valEl.textContent = String(Math.max(0, Math.round((1 - (pt.y - Y0) / HH) * MAXV)));
}
const D = 2.6 / speed;
tl.fromTo("#layout", { opacity: 0, y: 20 }, { opacity: 1, y: 0, duration: 0.5, ease: "power2.out" }, 0.1);
tl.fromTo(P, { p: 0 }, { p: 1, duration: D, ease: "power1.inOut" }, 0.7);
tl.fromTo("#halo", { attr: { r: 30 }, opacity: 0.45 }, { attr: { r: 78 }, opacity: 0, duration: 0.45, ease: "power2.out", immediateRender: false }, 0.7 + D);
tl.fromTo("#layout", { opacity: 1, y: 0 }, { opacity: 0, y: -20, duration: 0.45, ease: "power2.in", immediateRender: false }, 4.4);
tl.to({}, { duration: 5 }, 0);
tl.eventCallback("onUpdate", paint);
paint();
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.
{"line_color":"#7aa2ff","speed":0.85}{"line_color":"#ff2d6f","speed":1.7}{"series":"whisper","speed":1}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 (3060.7 KB), 1280x720 in the page (968 KB), 640x360 in galleries (217.4 KB), no audio
- Picture check
- The 1080p file scores VMAF 98.78 against our render master and keeps 100% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
- Footage
- orange robot machinery in an overgrown hall, steam, wide (Tears of Steel, 8:41)
- 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: 42.5 s (2 render workers, on the laptop above).
- full.mp4: 3060.7 KB
- hero.mp4: 968 KB
- hero.webp: 30.9 KB
- tile.mp4: 217.4 KB
- tile.webp: 10.3 KB
- Variation "subtle": rendered in 40.3 s, 216.7 KB
- Variation "bold": rendered in 44.2 s, 213.1 KB
- Variation "whisper": rendered in 43.5 s, 220.3 KB
Credits
- Built from the HyperFrames registry component decline-chart 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.


