# Activity Feed Build-up (活动记录逐条出现)

A timestamped activity log appears one entry at a time on uneven gaps, older entries step down in brightness, a thin timeline grows with them, and the last entry stops in the accent color waiting for you; for showing an AI working on your behalf.

- Ref: `video/motion-list-activity-feed` (code video · motion · launch, feature, changelog, any · any · 5s at 30fps)
- Page: https://uifino.com/en/videos/motion-list-activity-feed
- Markdown: https://uifino.com/md/videos/motion-list-activity-feed.md
- Preview image: https://uifino.com/videos/motion-list-activity-feed/poster.jpg

## Install

- ZIP: https://uifino.com/videos/motion-list-activity-feed/source.zip

A timestamped activity log appears one entry at a time on uneven gaps, older entries step down in brightness, a thin timeline grows with them, and the last entry stops in the accent color waiting for you; for showing an AI working on your behalf.

Rendered video: https://uifino.com/videos/motion-list-activity-feed/preview.mp4

## Beats

- 0-0.85s First entry after a short empty start: 0.4 s of empty ground, then the first entry rises 12 px and fades in with its dot Camera: static. On-screen text: "09:12 Brief received".
- 0.85-1.55s Second entry, first steps down: Second entry arrives, the line grows to it in 0.3 s, the first drops to 82% Camera: static. On-screen text: "09:13 Split into three shots".
- 1.55-1.95s A shorter gap speeds up the rhythm: Third entry arrives, the two before step down Camera: static. On-screen text: "09:15 First render done".
- 1.95-2.85s A long wait after the fourth: Fourth entry arrives, then 0.6 s of stillness Camera: static. On-screen text: "09:16 Self-check passed".
- 2.85-3.15s The last entry appears in the accent color: The last entry and a green dot arrive, the line grows to it, the four before step down Camera: static. On-screen text: "09:16 Waiting for you".
- 3.15-5s Everything still so it can be read: Fully still for 1.85 s Camera: static.

## Parameters

- `times` Times (separated by |): default 09:12|09:13|09:15|09:16|09:16
- `texts` Events (separated by |): default 收到需求|拆成三个分镜|渲染出第一版|自检通过|等你确认
- `accentColor` Accent of the last entry: default #7FD99A
- `bg` Background: default #0F1712
- `ink` Text color: default #ECF2EE
- `mutedColor` Muted color of the times: default #8FA096
- `lineColor` Timeline color: default #44554A
- `firstAt` First entry appears at: default 0.4s, range 0 to 1s
- `gaps` Seconds between entries (separated by |): default 0.45|0.7|0.4|0.9
- `enterDuration` Entrance and dimming duration: default 0.3s, range 0.2 to 0.4s
- `rise` Entrance rise: default 12px, range 0 to 40px
- `lineDuration` Timeline growth duration: default 0.3s, range 0.2 to 0.4s
- `levels` Opacity levels (newest to oldest, separated by |): default 1|0.82|0.68|0.58|0.5
- `timeDim` Share of the dimming applied to the times: default 0.35, range 0 to 1
- `pitch` Row distance: default 140px, range 110 to 180px

## Good for

- Showing a task being done step by step
- A restrained text list in a product-update style
- Works for Chinese and English copy, about 5 entries

## Not for

- Long lists where every entry needs a long read
- Activity streams that need avatars, icons or cards

## Source files (plain text)

- https://uifino.com/videos/motion-list-activity-feed/source/SPEC.md
- https://uifino.com/videos/motion-list-activity-feed/source/PROMPT.md
- https://uifino.com/videos/motion-list-activity-feed/source/NOTICE.md
- https://uifino.com/videos/motion-list-activity-feed/source/project/assets/fonts/OFL.txt
- https://uifino.com/videos/motion-list-activity-feed/source/project/compositions/feed.html
- https://uifino.com/videos/motion-list-activity-feed/source/project/hyperframes.json
- https://uifino.com/videos/motion-list-activity-feed/source/project/index.html

## How to use

- Copy the beats and parameters; replace only the copy, the accent color and the product screenshots.
- `PROMPT.md` has two prompts: one to reproduce this video exactly, one to learn only the technique.
- Build with HyperFrames (`/hyperframes`); the project in the ZIP is a ready starting point.

## Files

| Path | Role | Size |
| :--- | :--- | ---: |
| PROMPT.md | doc | 2.6 KB |
| SPEC.md | doc | 5.9 KB |

### PROMPT.md

```md
# PROMPT：motion-list-activity-feed

## 照抄复刻
用 `/hyperframes` 做一个 1920×1080、30 fps、5 秒的活动记录动效：纯色底 `#0F1712`，没有头像、图标、卡片底色，只有一根竖线、五个圆点和五行字。

做法：
1. 五行，行距 140px，整列在竖直方向居中（第 1 行中心 y = 260，第 5 行中心 y = 820）。竖线中心 x = 660，宽 2px，颜色 `#44554A`；每行一个直径 16px 的圆点，圆心在竖线上。每行高 80px，时间从 x = 700 起、宽 170px，36px、字重 400、等宽数字、颜色 `#8FA096`；事件文字从 x = 870 起，64px、字重 500、字距 -0.01em、颜色 `#ECF2EE`，和时间按基线对齐。中文用思源黑体子集，数字和英文用 IBM Plex Sans 子集（`@font-face` 指向 `assets/fonts/`）。
2. 五条文案：`09:12 收到需求`、`09:13 拆成三个分镜`、`09:15 渲染出第一版`、`09:16 自检通过`、`09:16 等你确认`。第 5 条的字和圆点用强调色 `#7FD99A`，其余圆点和文字用 `#ECF2EE`。
3. 出现时间 0.40、0.85、1.55、1.95、2.85 秒（间隔 0.45、0.70、0.40、0.90 秒，故意不等）。每条：0.3 秒 `expo.out`，上移 12px（y 12 → 0）加淡入，圆点同时淡入。
4. 第 2 条起，每条入场的同时，从上一个圆点到这一个圆点的竖线段（140px）`scaleY` 0 → 1，原点在上端，0.3 秒 `power2.out`，所以线只到当前最后一条。
5. 每条入场的同时，已有的每一条降一级，0.3 秒 `power2.out`：文字和圆点不透明度按「比新条早几位」取 100% / 82% / 68% / 58% / 50%；时间只降 35% 的幅度（最旧一条的时间 = 82.5%），保证对比度不低于 4.5:1。
6. 2.85 秒最后一条入场，3.15 秒起整列完全静止到 5.0 秒，共 1.85 秒。不滚动，不挤掉旧条。

需要替换的地方：
- 文案：`times`、`texts`（`|` 分隔）。英文：`Brief received|Split into three shots|First render done|Self-check passed|Waiting for you`。
- 颜色：`accentColor`、`bg`、`ink`、`mutedColor`、`lineColor`。
- 节奏：`firstAt`、`gaps`（`0.45|0.7|0.4|0.9`）、`enterDuration`、`rise`、`lineDuration`、`levels`、`timeDim`、`pitch`。
- 不要联网取字体，不要加头像或图标。

## 只学手法
一列记录按不等间隔（0.45 / 0.7 / 0.4 / 0.9 秒）逐条出现，每条 0.3 秒上移 12px 淡入；新条每来一次，旧条各降一级亮度（100 / 82 / 68 / 58 / 50%，最旧仍不低于 4.5:1 对比度），左侧 2px 竖线和圆点同时长到新条，最后一条换强调色，之后整列静止 1.85 秒。
```

### SPEC.md

```md
# SPEC：motion-list-activity-feed

## LOOK
- 色值：底 `#0F1712`，字 `#ECF2EE`，次要字（时间）`#8FA096`，时间线 `#44554A`，强调色 `#7FD99A`。中性色 4 个，强调色只给最后一条的字和圆点，面积远小于 10%。
- 时间线颜色和任务书不同：任务书给的 `#1F2B24` 对底色的对比度只有 1.24:1，2px 的细线在画面上几乎看不见，所以改成 `#44554A`（约 2.3:1），变量 `lineColor` 可改回。
- 字体：中文 Noto Sans SC，西文和数字 IBM Plex Sans，都是门禁按用到的字生成的子集，OFL，本地 `@font-face`。两个族。
- 字号：事件文字 64px、字重 500、字距 -0.01em；时间 36px、字重 400、`font-variant-numeric: tabular-nums`（等宽数字）。两档。
- 亮度：新条在 `#ECF2EE`，旧条用不透明度降级：从新到旧 100% / 82% / 68% / 58% / 50%。最旧一条文字在底色上的对比度约 4.8:1（不低于 4.5:1）。时间的次要字色不能降那么多，只跟着降 35%：最旧一条的时间不透明度 = 1 - (1 - 0.5) × 0.35 = 82.5%，对比度约 4.9:1。
- 圆点：直径 16px 的圆，颜色和所在条的文字同色（最后一条是强调色），跟着文字同档变暗。时间线 2px 宽，没有圆角（矩形）。
- 圆角：只有圆点的圆形。阴影：无。没有头像、图标、卡片底色。
- 版式：5 条，行距 140px，整列在画面竖直方向居中（第 1 条中心 y = 260，第 5 条中心 y = 820）。时间线中心 x = 660（线宽 2px，左边 659），圆点中心 x = 660（左边 652）。时间从 x = 700 起，占 170px；事件文字从 x = 870 起。每行高 80px，行内按文字基线对齐。

## MOTION
- 条目入场：每条 0.3 秒，上移 12px（`y` 12 → 0）加淡入（不透明度 0 → 1），`expo.out`。圆点同一时刻淡入（不移动）。
- 时间线：第 2 条起，每条入场的同一时刻，竖线（从上一个圆点到这一个圆点，长 140px）`scaleY` 0 → 1，原点在上端，0.3 秒 `power2.out`，所以线始终只到当前最后一条，不会超出。
- 变暗：新条入场的同一时刻，已有的每一条按「比新条早几位」降到对应档位，0.3 秒 `power2.out`。第 5 条入场时，第 4 条从 100% 降到 82%，第 1 条从 58% 降到 50%。
- 缓动只有两种：`expo.out`（入场）、`power2.out`（变暗和竖线）。
- 间隔不等：5 条的出现时间 0.40、0.85、1.55、1.95、2.85 秒，相邻间隔 0.45、0.70、0.40、0.90 秒。
- 最后一条 2.85 秒入场，3.15 秒完成，之后到 5.0 秒整列完全静止，共 1.85 秒。没有退场，没有呼吸、漂浮。

## 逐拍节拍表
| 拍 | 起止秒 | 画面 | 镜头 | 转场 | 屏幕文案原文 |
| --- | --- | --- | --- | --- | --- |
| first | 0 – 0.85 | 0.4 秒空底，第一条入场 | 固定 | 无 | 09:12 收到需求 |
| second | 0.85 – 1.55 | 第二条入场，竖线长到它，第一条降到 82% | 固定 | 无 | 09:13 拆成三个分镜 |
| third | 1.55 – 1.95 | 第三条入场，前两条各降一级 | 固定 | 无 | 09:15 渲染出第一版 |
| fourth | 1.95 – 2.85 | 第四条入场，之后停 0.6 秒 | 固定 | 无 | 09:16 自检通过 |
| last | 2.85 – 3.15 | 最后一条用强调色入场，前四条各降一级 | 固定 | 无 | 09:16 等你确认 |
| rest | 3.15 – 5.0 | 整列静止 | 固定 | 无 | 同上 |

英文版：`09:12 Brief received / 09:13 Split into three shots / 09:15 First render done / 09:16 Self-check passed / 09:16 Waiting for you`。代码按文案条数自动排版。已把 `texts` 的默认值临时换成英文，用 `--no-render --at=3.0,4.5` 截图确认：最长一条 Split into three shots 右端约 x = 1465，在画面内，五条都不折行、不重叠，数字仍是 IBM Plex Sans 字形；验完已改回中文。

## 参数接线
全部是 `project/compositions/feed.html` 根元素 `data-composition-variables` 里的变量，用户的 AI 在挂载处用 `data-variable-values` 覆盖：
- `times`、`texts`（`|` 分隔，条数以较短的一个为准）；
- `accentColor`（`#7FD99A`）、`bg`（`#0F1712`）、`ink`（`#ECF2EE`）、`mutedColor`（`#8FA096`）、`lineColor`（`#44554A`）；
- `firstAt`（0.4）、`gaps`（`0.45|0.7|0.4|0.9`，条数减 1 个）、`enterDuration`（0.3，入场和变暗共用）、`rise`（12）、`lineDuration`（0.3）；
- `levels`（`1|0.82|0.68|0.58|0.5`，从新到旧，个数不够时用最后一个）、`timeDim`（0.35）、`pitch`（140，整列按它在竖直方向居中）。
- 不是变量的常量，改 `feed.html` 样式：字号 64 / 36、时间线中心 x = 660（`.af-seg` 的 `left`、`.af-dot` 的 `left`、`.af-row` 的 `left`）、时间列宽 170px。改 `gaps` 时相邻间隔不要小于 `enterDuration`，否则上一条还没落定下一条就来了。
- 总时长 5 秒不是变量：改 `index.html` 的 `data-duration` 和 `feed` 宿主的 `data-duration`。

## 禁用项
头像、图标、卡片底色；等间隔出现；整列滚动或新条目把旧条目挤出画面；时间线超出最后一条；点击光圈、呼吸漂浮、辉光、渐变；画面上的标签、编号、说明字；落定后任何位移。

## 已知取舍
- `first_frame_empty`：开头 0.4 秒是空底，条目逐条出现本来就从空开始。`poster` 取 4.0 秒，画面完整。
- 时间线颜色改为 `#44554A`，理由见 LOOK。
- 最后一条用强调色而不是「字色」，这是任务书要求；这样第 4 条是画面里唯一一条字色最亮的条，最后一条靠颜色而不是亮度被看见。
- 圆点圆心对齐的是大字的行中心，时间数字按基线对齐，所以时间的视觉中心比圆点低约 10px，看着自然，不再调整。
- 第 5 条入场的 0.3 秒里同时有 4 处在变（新条淡入上移、竖线长、圆点出现、第 4 条降亮度）。这是任务书要求的同步，落点靠强调色和之后 1.85 秒静止，不再加长入场时长。
```
