screenshot.before-after-compare

截图前后对比

Screenshot Before/After Compare

仅本次打开有效
01
Live preview

真实渲染预览

查看引用 ↓
实机渲染 · Remotion
02
Purpose

这个动效用来做什么

分隔线横向推进,逐步揭示同一画布上的改版后状态。

A divider advances across one canvas to reveal the revised state over the original.

范围
镜头
复杂度
进阶
建议时长
3.4s
画幅
16:9 · 9:16 · 1:1
截图
演示强调
产品演示数据叙事演示文稿
03
Inputs

可替换参数

before_label必填 · string

Label for the original state.

默认值
BEFORE
after_label必填 · string

Label for the revised state.

默认值
AFTER
direction可选 · enum

Direction of the comparison wipe.

默认值
left-to-right
reveal_fraction可选 · number

Final visible fraction of the revised state.

默认值
0.68
04
Motion timeline

归一化动作时间线

所有事件都使用 0 到 1 的归一化进度:0 是镜头开始,1 是镜头结束;事件可以重叠,适配器再把相同比例映射到秒或帧。

subject.comparecomparison.wipe
0.12–0.66
subject.holdstate.hold
0.72–1.00
05
Copy to Agent

复制执行上下文

预览与引用使用同一个引擎选择。上下文保留共享机器标记与对应 Adapter 路由。

正在加载当前 Recipe 的上下文…
06
Engine implementations

引擎实现

gsap-timeline

HyperFrames

已验证
Composition
screenshot-before-after-compare
入口文件
index.html
确定性
是
  • lint通过
  • validate通过
  • inspect通过
  • render通过
frame-based

Remotion

已验证
Composition
ScreenshotBeforeAfterCompare
入口文件
ScreenshotBeforeAfterCompare.tsx
确定性
是
  • typecheck通过
  • render通过
07
Source, reference & rights

来源与使用边界

再分发状态
original
来源说明
Self-authored Milestone E Recipe and adapters.
Recipe 文件
recipes/screenshot/before-after-compare/recipe.yaml

参考

  • Original Milestone E product and data composition original
08
Verification

验收标准

01
intent-legible

The named motion intent remains visually legible throughout the active interval.

02
no-obstruction

Active content remains inside the safe area without accidental overlap or mutual obstruction.

03
stable-hold

The final state remains still and readable during the hold.

2 个实现已通过真实渲染理解验证模型