Log in
TechniqueBy HypernaturalVersion 1, updated

Animated numbers

hn/hn4a-compositor-animated-numbers

Animate exact numbers with hn4a-compositor: rolling year digits and frame-timed count-ups that land on a chosen cue, with unclipped display-font glyphs and a readable final hold. Use for annual recap openers, milestone statistics and numeric reveals; use the brand ad titles leaf for a static proof stat.

SKILL.md

Give it an approved value, its label, the brand font and the start, landing and end cues. Get compositor layers that roll or count to that exact value and hold it. Use hn4a-compositor-brand-ad-titles for a static proof stat. Load hn4a-compositor for the schema, build-script conventions, font loading, commands and live-spec gate; this leaf adds only the number treatment.

Inputs

  • Exact final text and unit, including separators, sign, decimal places or a suffix. The calling workflow verifies the claim; animation must not round it into a larger claim or change its unit.
  • Canvas, frame rate, box, loaded display font, colour and background.
  • Start cue, landing cue and scene end. Allow a readable hold after landing.
  • For a year rollover, both complete year strings, including any changing tens or hundreds digits. A transition from 2029 to 2030 changes two reels.

Run it

Add the layers to the job's build script using references/number-layers.md. Keep the choices and cue times as inputs. Inspect a still at the settled cue and frames either side:

exec hn4a-compositor still slides/recap.json stills/year_landed.png --at 1.2
exec hn4a-compositor page slides/recap.json

Use the actual cue rather than 1.2 s when it differs. Review and render through the base leaf's live-spec gate; a still does not approve the motion.

What you get

Editable number layers in the caller's spec, with the exact final value held until the scene exits. No generated lettering or additional model cost.

Tips and traps

  • The source's 192 px reel cells at a 380 px display size clipped wide glyphs when using overflow: hidden. Allow horizontal glyph overhang while clipping vertical rows; the reference gives the tested starting inset. Check the actual font.
  • A thumbnail at the first frame catches a moving number. Take it after all reels land and before any outgoing wipe covers them.
  • Every text layer needs its own font declaration, including text in a reel's HTML. The runtime must load that family; inherited HTML styling alone is insufficient.
  • Use fixed-width digit cells or tabular numerals for counters where supported; otherwise centre the whole string in a constant box so commas do not shift the headline around. Do not force tabular styling if the brand face lacks it.
  • A counter needs a persistent final layer. Per-frame transient layers alone can leave only the label visible after the count finishes.

Check it

Inspect stills at the roll, the landing and the final hold with python-contact-sheet. Step through landing frames in the live page: exactly one counter value is visible per frame, no gaps, no duplicated rows, no clipped sides, and all year digits correct. Check the actual rendered frames as well, especially with the widest digit and longest formatted number. The label and exact final value must be readable together before the next transition.

FAQs

Animate exact numbers with hn4a-compositor: rolling year digits and frame-timed count-ups that land on a chosen cue, with unclipped display-font glyphs and a readable final hold. Use for annual recap openers, milestone statistics and numeric reveals; use the brand ad titles leaf for a static proof stat.

Install Hypernatural Desktop, a free Mac app, and connect it to Claude Code, Codex or Claude Desktop. Then describe the video you want and your agent finds the skill itself, or paste this page's link (https://hypernatural.ai/skill/hn/hn4a-compositor-animated-numbers) and it installs hn/hn4a-compositor-animated-numbers and follows it.

Nothing. The skill is free and runs with tools on your own Mac, like hn4a-compositor.

Yes. Ask your agent to adjust it for your job, or to save its own version. You can publish your version under your own handle so anyone can install it.

Go make something cool.

Install the app, open your agent, describe the video. That's the whole onboarding.

Sticker HypernaturalSticker BannerSticker TVBoy