Effect #009 in our rendered series
Count-up numbers
Animated stat counters for results, prices and percentages that never jump sideways.
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 14, 2026.
Build a 5-second, 1920x1080, 24 fps HyperFrames composition of animated stat counters from the registry component count-up. Four counters in a row on cards: a whole number with a thousands comma (12,480), a percentage with one decimal (98.6%), a dollar amount with cents ($4,250.00) and a multiplier (3.2x), each labelled "Sample value". They count up with ease-out so they slow down exactly onto the target, start staggered from 0.4 s, and use tabular figures so nothing shifts sideways while counting; each lands with a small accent pulse. Variables: accent colour, count direction (up or down), duration, background switch.
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 count-up, 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 (10 notes from the build log):
- 4 Nov 2026, lint 1: 0 errors, 0 warnings. No fixes needed.
- Not run (by rule): check, render, snapshot, preview.
- Source: registry component count-up. Kept the exact-landing count, tabular numerals and the landing pulse; the count is a pure function of time (driver setter), so seeking is safe.
- Changed: four cards instead of one big figure; formats written by hand (thousands comma, one decimal percent, dollars with cents, multiplier); ease-out is quartic so it reaches the target exactly; "down" starts from double the target.
- Nothing shifts sideways: each value sits in a grid cell sized by an invisible copy of the final text and is left aligned, so growing digits never move the left edge.
- Count end is capped at 4.2 s so the last pulse finishes before the 4.65 s fade-out.
- Decided against: a glow on the numbers; a different label per card (brief says "Sample value" on each).
- 5 Nov 00:30 IST (lead): count-up cards were too small to read at tile size; changed to a 2x2 grid of 700x380 cards with 132 px numbers. Lint 0 errors.
- v2 (14 Nov 2026): rendered again. Every number on screen comes from our own measured test results (labelled Measured by us, 2026); frames and the poster were checked by eye.
- v2 (14 Nov 2026): the effect-demo count on screen updated from 94 to 107 and dated (the site grew); rendered again.
With HyperFrames code
Rendered and tested by us in HyperFrames 0.8.10 on Nov 14, 2026.
npx hyperframes add count-up
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 |
| Count direction | direction | enum | up |
| Count duration (s) | duration | number | 2 |
| Show background | plate | boolean | true |
Our full composition (index.html, 9 KB)
<!doctype html>
<html lang="en" data-composition-variables='[
{"id":"accent","type":"color","label":"Accent colour","default":"#ff5a1f"},
{"id":"direction","type":"enum","label":"Count direction","default":"up","options":[{"value":"up","label":"Count up from zero"},{"value":"down","label":"Count down from double"}]},
{"id":"duration","type":"number","label":"Count duration (s)","default":2,"min":0.8,"max":3,"step":0.1},
{"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@500;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: 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; }
#cards { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: 700px 700px; grid-auto-rows: 380px; align-content: center; justify-content: center; gap: 40px; }
.card { position: relative; width: 700px; height: 380px; border-radius: 28px; background: rgba(14, 18, 28, 0.88); border: 2px solid rgba(255,255,255,0.14); box-shadow: 0 24px 60px rgba(0,0,0,0.45); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; opacity: 0; }
.ring { position: absolute; inset: -3px; border-radius: 30px; border: 4px solid var(--accent); opacity: 0; box-shadow: 0 0 40px var(--accent); }
.val { display: grid; font-family: "Inter", sans-serif; font-weight: 800; font-size: 132px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; letter-spacing: -0.02em; white-space: nowrap; }
.val span { grid-area: 1 / 1; justify-self: start; }
.val .sizer { visibility: hidden; }
.lab { font-family: "Inter", sans-serif; font-weight: 500; font-size: 40px; color: #c3cbdb; white-space: nowrap; }
.rule { width: 96px; height: 8px; border-radius: 3px; background: 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: 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="cards"></div>
<div class="chip" style="left:50%;top:50px;transform:translateX(-50%);z-index:20">Measured by us, 2026</div>
</div>
<script>
window.__timelines = window.__timelines || {};
(function () {
const v = window.__hyperframes.getVariables();
document.getElementById("root").style.setProperty("--accent", v.accent || "#ff5a1f");
if (!v.plate) document.getElementById("plate").style.display = "none";
const down = v.direction === "down";
const DUR = Math.min(3, Math.max(0.8, Number(v.duration) || 2));
const commas = (s) => s.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
const ITEMS = [
{ target: 138, label: "Reels measured file by file", fmt: (x) => commas(String(Math.round(x))) },
{ target: 406, label: "Library resources reviewed", fmt: (x) => commas(String(Math.round(x))) },
{ target: 107, label: "Effect demos, 14 Nov 2026", fmt: (x) => commas(String(Math.round(x))) },
{ target: 15.2, label: "Caption word error rate", fmt: (x) => x.toFixed(1) + "%" },
];
const cards = document.getElementById("cards");
const STARTS = [0.4, 0.8, 1.2, 1.6];
const tl = gsap.timeline({ paused: true });
ITEMS.forEach((it, i) => {
const card = document.createElement("div"); card.className = "card"; card.id = "card" + i;
const ring = document.createElement("div"); ring.className = "ring"; ring.id = "ring" + i;
const val = document.createElement("div"); val.className = "val";
const sizer = document.createElement("span"); sizer.className = "sizer"; sizer.textContent = it.fmt(it.target);
const live = document.createElement("span"); live.id = "live" + i; live.textContent = it.fmt(down ? it.target * 2 : 0);
val.appendChild(sizer); val.appendChild(live);
const rule = document.createElement("div"); rule.className = "rule";
const lab = document.createElement("div"); lab.className = "lab"; lab.textContent = it.label;
card.appendChild(ring); card.appendChild(val); card.appendChild(rule); card.appendChild(lab); cards.appendChild(card);
it.live = live; it.start = STARTS[i]; it.end = Math.min(STARTS[i] + DUR, 4.2);
const landed = it.end;
tl.fromTo(card, { opacity: 0, y: 46 }, { opacity: 1, y: 0, duration: 0.4, ease: "power3.out" }, it.start - 0.35);
tl.fromTo(card, { scale: 1 }, { scale: 1.06, duration: 0.12, ease: "power2.out", immediateRender: false }, landed);
tl.to(card, { scale: 1, duration: 0.32, ease: "power2.out" }, landed + 0.12);
tl.fromTo(ring, { opacity: 0 }, { opacity: 1, duration: 0.1, ease: "power2.out" }, landed);
tl.to(ring, { opacity: 0, duration: 0.5, ease: "power2.in" }, landed + 0.12);
tl.to(card, { opacity: 0, y: -30, duration: 0.35, ease: "power2.in" }, 4.65);
});
function paint(t) {
ITEMS.forEach((it) => {
const u = Math.min(1, Math.max(0, (t - it.start) / (it.end - it.start)));
const e = 1 - Math.pow(1 - u, 4); // ease-out quartic, exactly 1 at the end
const from = down ? it.target * 2 : 0;
it.live.textContent = it.fmt(u >= 1 ? it.target : from + (it.target - from) * e);
});
}
let driverT = 0; const driver = {};
Object.defineProperty(driver, "t", { configurable: true, get: () => driverT, set: (x) => { driverT = x; paint(x); } });
tl.to(driver, { t: 5, duration: 5, ease: "none" }, 0);
paint(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.
{"accent":"#2f6bff","duration":3}{"accent":"#ff2d6f","duration":1}{"direction":"down"}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 (4192.5 KB), 1280x720 in the page (1474.1 KB), 640x360 in galleries (378 KB), no audio
- Picture check
- The 1080p file scores VMAF 99.26 against our render master and keeps 99% 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 14, 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: 55.2 s (2 render workers, on the laptop above).
- full.mp4: 4192.5 KB
- hero.mp4: 1474.1 KB
- hero.webp: 41.5 KB
- tile.mp4: 378 KB
- tile.webp: 15.4 KB
- Variation "subtle": rendered in 49.4 s, 379.3 KB
- Variation "bold": rendered in 50.6 s, 369.1 KB
- Variation "down": rendered in 49.3 s, 382.1 KB
Credits
- Built from the HyperFrames registry component count-up 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.


