map.route-trace
地图路线描绘
Map Route Trace
Live preview
真实渲染预览
Purpose
这个动效用来做什么
本地地图轮廓提供空间上下文,一条路线连接起点、途经点和终点。
A local map outline supplies spatial context while one route connects origin, waypoints, and destination.
- 范围
- 效果
- 复杂度
- 进阶
- 建议时长
- 3.8s
- 画幅
- 16:9 · 9:16 · 1:1
Inputs
可替换参数
origin_label必填 · stringLabel at the route origin.
- 默认值
NORTH
destination_label必填 · stringLabel at the route destination.
- 默认值
SOUTH
route_points必填 · stringNormalized route points encoded as x,y pairs separated by vertical bars.
- 默认值
0.16,0.72|0.28,0.54|0.46,0.58|0.62,0.34|0.82,0.43
headline必填 · stringExplanatory headline.
- 默认值
Route intelligence
Motion timeline
归一化动作时间线
所有事件都使用 0 到 1 的归一化进度:0 是镜头开始,1 是镜头结束;事件可以重叠,适配器再把相同比例映射到秒或帧。
map.fadeopacity.fade
0.06–0.22route.drawpath.draw
0.18–0.72markers.revealcollection.reveal
0.30–0.74markers.staggercollection.stagger
0.30–0.74destination.settlespring.settle
0.70–0.86map.holdstate.hold
0.88–1.00Copy to Agent
复制执行上下文
预览与引用使用同一个引擎选择。上下文保留共享机器标记与对应 Adapter 路由。
正在加载当前 Recipe 的上下文…
Engine implementations
引擎实现
gsap-timeline
已验证HyperFrames
- Composition
map-route- 入口文件
index.html- 确定性
- 是
- lint通过
- validate通过
- inspect通过
- render通过
frame-based
已验证Remotion
- Composition
MapRouteTrace- 入口文件
MapRouteTrace.tsx- 确定性
- 是
- typecheck通过
- build通过
- render通过
Source, reference & rights
来源与使用边界
- 再分发状态
- original
- 来源说明
- Self-authored G8 local-map and route design.
- Recipe 文件
recipes/map/route-trace/recipe.yaml
参考
无外部参考;该 Recipe 与测试素材为项目原创。
Verification
验收标准
local-contextThe map outline is self-authored or locally licensed and never fetched during rendering.
continuous-routeThe route draws continuously from origin through waypoints to destination.
endpoint-legibleOrigin and destination labels remain visible without route or marker overlap.
stable-holdThe final map, route, and markers remain still and readable.
2 个实现已通过真实渲染理解验证模型