Three Eases Side by Side
Three dots leave on the same frame and cover the same track in the same 1.2 s, only the deceleration curve differs; each has a spec card with a curve sampled from the real easing function, and the dot on the curve tracks the dot on the track frame by frame; for explaining eases or showing motion specs.
Motion6s1920×1080 · 30fpsFeatureTutorialBrand
0s / 6sFrame 0
Copy it exactly
用 `/hyperframes` 做一个 1920×1080、30 fps、6 秒的「三种减速并排对照」动效。底色 `#E8E6E1`,主字 `#1C1C1A`,次要字 `#6E6C66`,线 `#D3D0C8`,卡片底 `#F2F0EB`,强调色 `#2F5BFF`(只给点用)。字体用本地 `@font-face`:西文 IBM Plex Sans,中文思源黑体,不要联网取字体。根上加 `data-motion-blur="on"`。 做法: 1. 标题「同样 1.2 秒,三种减速」,120px、字重 600、字距 -0.02em,左 120px、上 150px,一句话,之后不再动。 2. 三列,每列宽 528px,列间距 48px,左边缘 x = 120 / 696 / 1272。每列上面是轨道:一条 480px 长、4px 高的线(`#D3D0C8`),纵向中心 y = 530px,左端 x = 列左 + 24px,两端各一个 2×32px 的刻度(起点 `#D3D0C8`、终点 `#1C1C1A`),一个直径 32px 的圆点,圆心从起点刻度走到终点刻度,共 480px。 3. 每列下面是参数卡:宽 528px、高 240px、上边 y = 610px,2px `#D3D0C8` 边、16px 圆角、底 `#F2F0EB`,无阴影。左上写缓动名(36px、字重 600、行高 44px、左内边距 24px、距边框内侧上 22px),右上写时长「1.2 秒」(28px、字重 400、行高 36px、次要字色、右内边距 24px、上 26px)。标题行高 140px。曲线图 160×100 放在卡内:距边框内侧左 184px、上 94px(比卡片几何中心偏右、偏下 2px):用 `gsap.parseEase(缓动名)` 在 0 到 1 上采 64 段(65 个点)连成折线,横轴时间、纵轴进度、原点在左下;叠三层:对角匀速线(2px,`#D3D0C8`)、完整曲线(2px,`#6E6C66`)、走过的曲线(4px,`#1C1C1A`,圆头);再加一个直径 16px 的强调色点。 4. 三列缓动依次是 `power1.out`、`power3.out`、`expo.out`,不要弹簧和回弹。 5. 全部用一条 GSAP 时间线,不用回调同步。每一遍里每列四个补间同一帧开始、同样 1.2 秒:轨道点 `x` 0 到 480(该列缓动);曲线点 `x` 0 到 160(匀速);曲线点 `y` 100 到 0(该列缓动);走过的曲线用 `clip-path: inset(-6px 160px -6px -6px)` 到 `inset(-6px 0px -6px -6px)`(匀速)。这样两个点每帧对应。 6. 节拍:刻度和轨道点比轨道线晚 0.25 秒开始淡入(0.2 秒);0.1 秒标题模糊 10px 到 0(0.25 秒 `power4.out`);0.2 / 0.3 / 0.4 秒三条轨道线从左画出(`scaleX`,0.7 秒 `expo.out`);比轨道晚 0.15 秒三张卡从上往下揭开(`clip-path`,0.7 秒 `expo.out`);1.2 到 2.4 秒第一遍;停在终点 0.3 秒,2.7 到 2.82 秒点和走过的曲线淡出,2.82 秒回起点再淡入(各 0.12 秒);3.0 到 4.2 秒第二遍;4.2 到 6.0 秒完全静止,点停在终点。 7. 不要加任何标签、编号、阴影、玻璃、渐变。 需要替换的地方(都是场景根上的变量,在挂载处用 `data-variable-values` 传): - 文案:`title`、`durationUnit`(秒,英文 `s`);缓动:`easeA`、`easeB`、`easeC`(换成别的减速缓动,曲线和点自动跟着变)。 - 时间:`runDuration` 1.2、`firstRun` 1.2、`pause` 0.6。 - 颜色:`accentColor`、`bg`、`ink`、`muted`、`rule`、`card`。 - 标题里的「1.2」是普通文字,改 `runDuration` 时要一起改。标题超过 14 个字符时字号自动改成 64px(英文)。
Learn the technique
把效果和参数配成对:三个点用同一条时间线、同样 1.2 秒跑同一段 480px,只换缓动(`power1.out` / `power3.out` / `expo.out`);每个点下面的参数卡里放用真实缓动函数采样 64 段画出的 160×100 曲线,曲线上的点横向匀速、纵向走同一个缓动,和轨道上的点每帧对应;跑两遍,中间停 0.6 秒,最后停在终点 1.8 秒。
MCP
get_video({ "id": "motion-data-ease-compare" })Beats
| Time | Purpose | Visual | Camera | Transition | On-screen text |
|---|---|---|---|---|---|
| 0–1.2s | Title lands, tracks and spec cards appear | Title blurs 10 px to 0 (0.25 s); three track lines draw from the left (0.7 s expo.out, 0.1 s apart); spec cards reveal top-down 0.15 s later | static | — | Same 1.2 s, three ways to slow down |
| 1.2–2.4s | First run: three dots leave and arrive together | Track dots move 0 to 480 px on power1.out, power3.out, expo.out; curve dots go linear across and on the same ease up; the traveled curve is drawn in step | static | — | power1.out / power3.out / expo.out |
| 2.4–3s | Pause 0.6 s, dots reset | Dots rest at the end 0.3 s; fade out 2.7 to 2.82 s, return and fade in 2.82 to 2.94 s | static | — | — |
| 3–4.2s | Second run: frame-identical to the first | The same tweens run again, 1.2 s | static | — | — |
| 4.2–6s | Rest at the end so it can be read | Fully still, dots at the end | static | — | — |
Parameters
| Parameter | Default | Range | Kind |
|---|---|---|---|
Title title | 同样 1.2 秒,三种减速 | — | Content |
Duration unit durationUnit | 秒 | — | Content |
Ease A easeA | power1.out | — | Motion |
Ease B easeB | power3.out | — | Motion |
Ease C easeC | expo.out | — | Motion |
Run duration runDuration | 1.2s | 0.8 – 1.5s | Timing |
First run start firstRun | 1.2s | 1 – 1.2s | Timing |
Pause between runs pause | 0.6s | 0.5 – 1s | Timing |
Accent color accentColor | #2F5BFF | — | Look |
Background bg | #E8E6E1 | — | Look |
Text color ink | #1C1C1A | — | Look |
Secondary text color muted | #6E6C66 | — | Look |
Line color rule | #D3D0C8 | — | Look |
Card fill card | #F2F0EB | — | Look |
Good for
- Pairing several effects with their parameters so differences read at a glance
- Explaining eases or durations that can be described in numbers
- Works in Chinese and English, three columns
Not for
- A screen about one effect only
- Comparisons of springs or overshooting curves
- More than four columns