chart.line-draw
折线图绘制
Chart Draw
Live preview
真实渲染预览
Purpose
这个动效用来做什么
数值序列映射为折线路径,按顺序绘制并在终点揭示最终值。
An ordered numeric series maps to a line path that draws forward and reveals its final value.
- 范围
- 效果
- 复杂度
- 进阶
- 建议时长
- 3.2s
- 画幅
- 16:9 · 9:16 · 1:1
Inputs
可替换参数
series必填 · number-listOrdered numeric values mapped across the chart width.
- 默认值
[18,32,28,54,63,86]
label可选 · stringChart title.
- 默认值
Weekly momentum
unit可选 · stringSuffix for the final value.
- 默认值
%
Motion timeline
归一化动作时间线
所有事件都使用 0 到 1 的归一化进度:0 是镜头开始,1 是镜头结束;事件可以重叠,适配器再把相同比例映射到秒或帧。
chart.fadeopacity.fade
0.04–0.20line.drawpath.draw
0.18–0.72endpoint.revealtransform.scale
0.68–0.84chart.holdstate.hold
0.84–1.00Copy to Agent
复制执行上下文
预览与引用使用同一个引擎选择。上下文保留共享机器标记与对应 Adapter 路由。
正在加载当前 Recipe 的上下文…
Engine implementations
引擎实现
gsap-timeline
已验证HyperFrames
- Composition
line-draw- 入口文件
index.html- 确定性
- 是
- lint通过
- validate通过
- inspect通过
- render通过
frame-based
已验证Remotion
- Composition
LineDraw- 入口文件
LineDraw.tsx- 确定性
- 是
- typecheck通过
- render通过
Source, reference & rights
来源与使用边界
- 再分发状态
- original
- 来源说明
- Self-authored Milestone C1 test recipe.
- Recipe 文件
recipes/chart/line-draw/recipe.yaml
参考
- Original Milestone C1 verification composition original
Verification
验收标准
ordered-seriesHorizontal point order matches the input series order.
bounded-chartEvery plotted point remains inside the chart bounds.
endpointThe endpoint and final value appear only after most of the path is drawn.
2 个实现已通过真实渲染理解验证模型