Bar Chart Told in Reading Order
Six bars grow left to right in reading order; only the last one takes the accent color and carries its value, so the chart makes one point.
Motion5s1920×1080 · 30fpsLaunchChangelogBrand
0s / 5sFrame 0
Copy it exactly
用 `/hyperframes` 做一个 1920×1080、30 fps、5 秒的柱状图动效。底色 `#E8E6E1`,主字 `#1C1C1A`,底线 `#A8A59C`,普通柱子 `#B4B1A8`,强调色 `#2F5BFF`。字体用本地 `@font-face`:中文思源黑体,数字和西文 IBM Plex Sans,不要联网取字体。圆角、阴影、渐变都不要。 做法: 1. 版面:标题靠左,左边缘 x=160,宽 720,120px、字重 600、行高 144px、字距 -0.02em,最后一行底边落在 y=900。图表在右半:底线 x=920 到 1760、y=900 起 2px 高;六根柱子宽 100px,左边缘 x=920、1068、1216、1364、1512、1660(步长 148px),柱底 y=900,最高柱 640px,其余按数值比例。画面上没有刻度、网格、图例、周标签。 2. 数据:1180、1420、1330、1690、1980、3600(演示数据,换成你自己的六个数)。最后一根用强调色,前五根用 `#B4B1A8`。 3. 0.1 秒起底线从左画出(`scaleX` 0 到 1,`expo.out`,0.8 秒)。0.2 秒起标题两行各套 `overflow: hidden` 遮罩,从下沿升起(`yPercent` 115 到 0,`expo.out`,0.9 秒,行间隔 0.1 秒)。 4. 1.0 秒起六根柱子从左到右依次长出,每根间隔 0.1 秒(1.0、1.1、1.2、1.3、1.4、1.5 秒开始):`scaleY` 0 到 1,原点在柱底,`power3.out`,0.9 秒。 5. 最后一根柱子开始后 0.6 秒(2.1 秒)起,它的数值 3,600 从遮罩下沿升起(`expo.out`,0.6 秒),64px、字重 600、强调色,宽 300px 居中在柱子上,底边离柱顶 16px。 6. 2.7 秒到 5.0 秒完全静止,没有退场。 需要替换的地方(都是场景根上的变量,在挂载处用 `data-variable-values` 传): - `title`(标题,`|` 分行,默认「最近一周,|增长最快」,英文 `Fastest|growth:|last week`,英文要拆三行才放得下)、`values`(六个数,逗号分隔,最后一个是强调项)。 - 颜色:`accentColor`、`bg`、`ink`、`rule`、`bar`。 - 时间与缓动:`titleStart` 0.2、`titleDuration` 0.9、`barStart` 1、`barStagger` 0.1(取 0.08 到 0.12)、`barDuration` 0.9、`barEase` power3.out、`valueDelay` 0.6。 - 柱子位置和高度由脚本按数值算出,不用手改;柱子固定六根:`values` 不足六个数时,用最后一个数补齐,多于六个只取前六个,强调色永远给第六根。 - 版面常量(不是变量,在 `chart.html` 里改):标题行间隔 0.1 秒、底线动画 0.1 秒起 0.8 秒、数值升起 0.6 秒。
Learn the technique
图表只讲一个结论:柱子从左到右每隔 0.1 秒依次长出(`scaleY`,原点在柱底,`power3.out` 0.9 秒),前面的全部用中性灰,只有最后一根用强调色,并在它快长完时升起数值;没有刻度、网格和图例,整张图只有一条底线。
MCP
get_video({ "id": "motion-data-chart-story" })Beats
| Time | Purpose | Visual | Camera | Transition | On-screen text |
|---|---|---|---|---|---|
| 0–1s | State the point first | Baseline draws from the left at 0.1 s; at 0.2 s the two headline lines rise from masks, expo.out 0.9 s, 0.1 s apart | static | — | Fastest growth: last week |
| 1–2.4s | Six bars grow in reading order | From 1.0 s one bar every 0.1 s, scaleY 0 to 1, power3.out 0.9 s; first five #B4B1A8, the last #2F5BFF | static | — | — |
| 2.1–2.7s | Label only the bar that matters | At 2.1 s the value 3,600 rises from a mask, expo.out 0.6 s, 64px | static | — | 3,600 |
| 2.7–5s | Let the viewer read | Fully still: no scale, drift or breathing | static | — | — |
Parameters
| Parameter | Default | Range | Kind |
|---|---|---|---|
Headline (| splits lines) title | 最近一周,|增长最快 | — | Content |
Six values, comma separated; the last is highlighted values | 1180,1420,1330,1690,1980,3600 | — | Content |
Accent color accentColor | #2F5BFF | — | Look |
Background bg | #E8E6E1 | — | Look |
Text color ink | #1C1C1A | — | Look |
Baseline color rule | #A8A59C | — | Look |
Neutral bar color bar | #B4B1A8 | — | Look |
Headline start titleStart | 0.2s | 0 – 0.6s | Timing |
Headline rise duration titleDuration | 0.9s | 0.5 – 1.4s | Motion |
First bar start barStart | 1s | 0.6 – 1.6s | Timing |
Gap between bars barStagger | 0.1s | 0.08 – 0.12s | Timing |
Bar grow duration barDuration | 0.9s | 0.6 – 1.3s | Motion |
Bar ease barEase | power3.out | — | Motion |
Value delay after the last bar starts valueDelay | 0.6s | 0.3 – 1s | Timing |
Good for
- One chart making one point, such as fastest growth last week
- Five to eight like values with one that matters
- Headline works in Chinese and English
Not for
- Multi-series charts that need exact readings
- Line, pie, stacked or legend-heavy charts