MCP READYQuery DESIGN.md protocols, components, templates & tools directly from Claude Code, Grok Build and VS Code.Connect MCP →
uifino
CatalogStylesComponentsTemplatesVideosToolsConnect AI
uifino

DESIGN.md protocols & progressive UI engineering for humans and AI coding agents.

CATALOG
Linear DESIGN.mdClaude DESIGN.mdVercel DESIGN.mdFlighty iOS Spec
STYLES
All StylesHairline GridFrosted GlassNeo-Brutalism
COMPONENTS
HeroAuthTablesCounters
TEMPLATES, VIDEOS & TOOLS
Starter TemplatesVideosBackground GeneratorShadow & Token LabMCP Server Setup
Home/Videos

Strike Out the Old Number

The old number appears, a line strikes it out left to right and dims it, then the new number lands beside it in the accent color; a one-shot before-and-after comparison.

Motion4s1920×1080 · 30fps
0s / 4sFrame 0
Copy it exactly
用 `/hyperframes` 做一个 1920×1080、30 fps、4 秒的数据对比动效,底色 `#F6F5F2`,没有别的元素。

画面:水平居中的两行。上面一行引导语「出一支片子:」,64px、字重 500、颜色 `#6B6966`。下面一行 120px、字重 700、字距 -0.02em,从左到右依次是旧值「12 分钟」(颜色 `#121212`)、箭头「→」(`#6B6966`,字重 400,比数字细)、新值「40 秒」(强调色 `#D4412A`),三段间距 48px,行间距 40px,整块在画面垂直居中。三段位置从头到尾固定,没出现的只是透明。中文用思源黑体,数字和英文用 Schibsted Grotesk,都用本地 `@font-face`。

节拍:
1. 0.20 秒起,引导语和旧值一起从 `blur(8px)`、透明度 0 变清晰,0.20 秒,`power4.out`,没有位移。
2. 1.00 秒起,一条线盖在旧值上:高 6px、颜色 `#121212`、圆角 0、宽度等于旧值文字宽度,线的中心在旧值盒子 53% 高度处。`scaleX` 从 0 到 1,原点在左边,0.35 秒,`power2.inOut`。
3. 同一时间(1.00–1.35 秒),旧值文字不透明度从 1 线性降到 0.5,划线本身保持 `#121212`。旧值保留在画面上,不消失。
4. 划线结束后晚 0.15 秒,即 1.50 秒起,「→ 40 秒」整体从右侧 24px 滑回原位,同时 `blur(6px)` 变清晰、透明度 0 到 1,0.45 秒,`expo.out`。这一个 tween 就是新值的全部动作,不计数滚动。
5. 1.95–4.00 秒完全静止,不呼吸、不漂移、不缩放,也没有退场。

需要替换的地方:
- 文案:`leadText`(出一支片子:)、`oldText`(12 分钟)、`newText`(40 秒)、`arrowText`(→)。英文版:`One film:`、`12 minutes`、`40 seconds`,时间不变。
- 颜色:`accentColor`(#D4412A)、`bg`、`ink`、`inkMuted`。
- 字号:`bigSize`(120)、`leadSize`(64)。
- 时间和线:`strikeStart`(1.0)、`strikeDuration`(0.35)、`strikeThickness`(6)、`newDelay`(0.15)、`oldDim`(0.5)。
- 数字只是演示数据,换成你自己的真实数字,并在 `claims.json` 写明出处。
Learn the technique
旧值先出现,一条 6px 的直线用 0.35 秒从左到右划过它,旧值同时变灰到 50% 但留在画面上;划线结束后晚 0.15 秒,强调色的新值用 0.45 秒(`expo.out`)落在它右边,之后整句静止 2 秒以上。对比只做一次,不用手绘线、不用箭头图标、新值不计数滚动。
MCP
get_video({ "id": "motion-data-before-after" })
Download project

Beats

TimePurposeVisualCameraTransitionOn-screen text
0–1sShow the old value firstFrom 0.2 s the lead-in and old value sharpen from blur, power4.out, 0.2 s, no movementstatic—One film: 12 minutes
1–1.5sStrike the old valueA 6 px line strikes the old value left to right in 0.35 s, power2.inOut; it dims to 50% and stays; then a 0.15 s pausestatic——
1.5–4sNew value lands, then everything holds"→ 40 seconds" in the accent color slides in 24 px and sharpens, 0.45 s, expo.out; still from 1.95 s for 2.05 sstatic—One film: 12 minutes → 40 seconds

Parameters

ParameterDefaultRangeKind
Lead-in
leadText
出一支片子:—Content
Old value
oldText
12 分钟—Content
New value
newText
40 秒—Content
Connector character
arrowText
→—Content
Accent color
accentColor
#D4412A—Look
Background
bg
#F6F5F2—Look
Text and strike color
ink
#121212—Look
Muted text color
inkMuted
#6B6966—Look
Number row size
bigSize
120px96 – 120pxLook
Lead-in size
leadSize
64px48 – 64pxLook
Strike start
strikeStart
1s0.8 – 1.4sTiming
Strike duration
strikeDuration
0.35s0.25 – 0.5sTiming
Strike thickness
strikeThickness
6px4 – 8pxLook
New value delay
newDelay
0.15s0.1 – 0.25sTiming
Old value opacity
oldDim
0.50.3 – 0.6Look

Good for

  • A before-and-after of one number
  • Efficiency or cost gains in a launch film
  • Works for Chinese and English copy

Not for

  • Scenes that need a rolling counter
  • Several comparisons at once
  • Hand-drawn looks

Source

project
project/assets/fonts
project/compositions
← PreviousWord-by-Word Highlight CaptionsNext →Bar Chart Told in Reading Order