Two Cursors Edit One Line
Two named cursors come in from different sides: one drags a selection over a word in the headline, the other leaves a short comment, the first swaps the whole word and both leave. For collaboration and review stories.
Motion6s1920×1080 · 30fps
0s / 6sFrame 0
Copy it exactly
用 `/hyperframes` 做一条 1920×1080、30 fps、6 秒的动效:浅色底上一句话,两个带名字的光标一起改它。 1. 画面:底 `#F6F5F2`,字 `#121212`,强调色 `#D4412A`。整句「开场三秒内讲清楚卖点」单行居中,120px、字重 600、字距 -0.02em,行盒 top 468px、高 144px,从第 0 帧起就在,全程不动。字体本地 `@font-face`:西文 Instrument Sans,中文 Noto Sans SC。字号只有三档:标题 120、气泡 36、名字标签 28。 2. 光标:矢量箭头 42×56px,边是 2px 底色描边;Lin 填 `#D4412A`,Mo 填 `#121212`。名字标签挂在光标尖右下 (30, 46),高 44px,圆角 8px,字 28px,字色用底色;标签与光标同起点、同缓动,时长长 2 帧(2/30 秒),所以紧跟光标、落点晚 2 帧到;离场时标签与光标同步;名字标签元素加 `data-motion-blur="off"`。 3. 走位必须像人手:x 和 y 用两条不同的缓动,路径是弧线。Lin 从画外左下进场,x `power3.out`、y `power2.inOut`,0.9 秒,到点前自然减速;Mo 从画外右上进场,x `power2.inOut`、y `power3.out`,0.9 秒。到点后停 0.2 秒再动作。 4. 时间:Lin 0.2 秒起走,1.1 秒到「三」的左缘,1.3 秒按下(光标缩到 0.86 再弹回,不要光圈),选区 `#D4412A` 30% 不透明度,从词头拖到词尾,0.35 秒 `power1.inOut`,光标和选区边缘同步。Mo 1.0 秒起走,停在词的右上方,1.9 秒到,2.1 秒点击,2.15 秒起留言气泡 0.25 秒浮现(透明度、缩放 0.94 到 1、6px 模糊到 0,`power3.out`),一直停到 3.98 秒。 5. 气泡:白底,2px `#E2DFD8` 边,圆角 16px,高 76px,字「改成两秒」36px,阴影 `0 8px 24px rgba(18,18,18,0.10)`;左缘在 Mo 光标尖右 14px,下缘在尖上 14px。不要表情、点赞、回复按钮。 6. 改词:3.1 秒整词替换,「三秒」0.15 秒淡出加 6px 模糊,「两秒」同时淡入,不逐字;新词保持选中 0.4 秒,3.65 秒起选区 0.15 秒淡掉。 7. 离场:3.8 秒 Lin 向左下、3.85 秒 Mo 向右上,加速出画,0.5 秒 `power3.in`;气泡 0.13 秒淡出。4.35 秒后整句静止到 6 秒,画面里没有光标。 8. 根元素加 `data-motion-blur="on"`。 9. 禁止:产品界面外框、工具栏、头像列表,光标直线匀速或瞬移,气泡带表情和点赞,点击光圈。 需要替换的地方(在 `index.html` 里 `id="edit"` 的挂载元素上写 `data-variable-values` 传入): - 整句拆成 `textBefore`、`selectedWord`、`newWord`、`textAfter`(英文版要带空格:`Make the point in the first ` / `three` / `two` / ` seconds`),留言 `comment`,两个名字 `nameA`、`nameB`。 - 颜色 `accentColor`、`bg`、`ink`;字号上限 `fontSize`(整句超过 1560px 宽时先降到 64px,仍超再按比例缩)。 - 节奏 `arriveDuration`、`settleDuration`、`dragDuration`、`replaceDelay`、`selHold`、`exitDuration`。 - 换了文字要重新生成字体子集,否则缺字。不要加产品界面和其他文字。
Learn the technique
光标要像人手:走弧线(x、y 用不同缓动)、到点前 0.3 秒减速、停 0.2 秒再动作;名字标签与光标同时出发、晚 2 帧到点;选区是该光标颜色的 30% 透明度,0.35 秒拖完;改词是整词一次替换,新词保持选中 0.4 秒再取消;两个光标离场后整句静止至少 1 秒。
MCP
get_video({ "id": "motion-text-multiplayer-edit" })Beats
| Time | Purpose | Visual | Camera | Transition | On-screen text |
|---|---|---|---|---|---|
| 0–1.3s | The first cursor reaches the word start | The line is there from frame 0 and never moves; Lin's cursor curves in from outside the bottom left in 0.9 s, slows into the target, its name tag leaves with it and lands 2 frames later and it stops at 1.1 s | static | — | Make the point in the first three seconds |
| 1.3–1.65s | Drag-select a word | After a 0.2 s stop it presses; a 30% accent selection is dragged from word start to word end in 0.35 s, cursor and selection edge in step | static | — | Make the point in the first three seconds |
| 1.65–3.1s | The second cursor leaves a short comment | Mo's cursor curves in from outside the top right and stops above the word at 1.9 s, pauses 0.2 s, clicks, and from 2.15 s the bubble comes up in 0.25 s and stays | static | — | make it two |
| 3.1–3.8s | Whole-word swap | The old word blurs out and the new one blurs in over 0.15 s, in one go and not letter by letter; the new word stays selected 0.4 s, then the selection fades in 0.15 s | static | — | Make the point in the first two seconds |
| 3.8–4.35s | Both leave | Lin exits bottom left and Mo top right, accelerating, 0.5 s, power3.in; the bubble fades in 0.13 s | static | — | — |
| 4.35–6s | Let the viewer read | The finished line stays still for 1.65 s with no cursor on screen | static | — | Make the point in the first two seconds |
Parameters
| Parameter | Default | Range | Kind |
|---|---|---|---|
Text before the word textBefore | 开场 | — | Content |
Selected word selectedWord | 三秒 | — | Content |
Replacement word newWord | 两秒 | — | Content |
Text after the word textAfter | 内讲清楚卖点 | — | Content |
Comment text comment | 改成两秒 | — | Content |
Name on the editing cursor nameA | Lin | — | Content |
Name on the commenting cursor nameB | Mo | — | Content |
Accent color (first cursor and selection) accentColor | #D4412A | — | Look |
Background bg | #F6F5F2 | — | Look |
Text and second cursor color ink | #121212 | — | Look |
Headline size fontSize | 120px | 64 – 160px | Look |
Cursor travel time arriveDuration | 0.9s | 0.6 – 1.2s | Motion |
Stop before acting settleDuration | 0.2s | 0.2 – 0.4s | Timing |
Drag duration dragDuration | 0.35s | 0.3 – 0.5s | Timing |
Comment click to word swap replaceDelay | 1s | 1 – 1.4s | Timing |
Selection hold after swap selHold | 0.4s | 0.4 – 0.8s | Timing |
Cursor exit duration exitDuration | 0.5s | 0.4 – 0.7s | Motion |
Good for
- Launch films for collaboration, review or editing products
- Swapping one word in a headline of about 6 to 8 words
- A short beat that shows several people present at once
Not for
- When the whole line is rewritten or typed out letter by letter
- Three or more cursors at once
- When the full product interface has to be shown