Mografy Templates · Hooks

Number hook

One huge figure rolls into place digit by digit like an odometer, its unit rises in orange and a caption follows.

9:163.5 sFree · MIT

Add the template

Run this in your Mografy folder. The template, the shared modules and its fonts are copied into the project; files you changed are kept. A folder that is not a project yet becomes one, with a scene that plays the template.

Terminal
mografy add hook-number projects/my-film

To watch it on its own, point the project's scene to the template: "scene": "scenes/templates/hook-number.ts"

Use it in a film

Play the template on your film's timeline and override its parameters. Pass backdrop: false to draw an overlay template over your own picture.

scenes/main.ts
import * as hookNumber from './templates/hook-number.js'
import { play } from './templates/kit.js'

// inside renderFrame(ctx, time): play it from 2 s, with your own copy
play(ctx, time, 2, hookNumber, { number: "3" })

Or describe the film to Claude or Codex: the Mografy Skill knows every template and picks the ones that fit.

For your agent Open on a single striking figure (1–4 characters: "3", "24", "9.5") with a short unit and a one-line caption under 30 characters. For several figures use stat-count.

Parameters

  • numberstring3
  • unitstringMIN
  • captionstringFrom link to launch film
  • kickerstringLaunch notes
  • brandstringNorthwind · Studio
  • themeenum · light | darklight
  • accentcolor#D4643A
  • safeGuidebooleanfalse

Timing and layout live in the template file itself: edit them there, then check and review the frames.