Comparison
Live output of the real render engine — edit the settings and it updates instantly.
Before / after rows
motion design
Metric by metric, the old value and the new one side by side.
Best for: What changed after the switch, in two or three numbers.
Settings
Font
Theme
Size
Mood
Use it in a film
What you can change:
titlebeforeLabelafterLabelrowsFor developers (MCP and JSON)
This is the exact scene to send to create_animation (MCP): keep the shape, change the words, and write the narration — the voice sets how long the scene lasts. Paste it into update_storyboard with set_data to change a film you already made.
{
"visual": "motion",
"heading": "Before / after",
"narration": "Write the sentence the voice says over this scene; its length is the scene's.",
"data": {
"motion": {
"spec": {
"version": 1,
"name": "Before and after",
"intent": "comparison: before vs after: 1-3 rows, each a metric with its old and new value",
"stagger": "item",
"params": [
{
"name": "title",
"type": "text",
"default": "Month one against month six",
"maxLength": 48,
"label": "Title"
},
{
"name": "beforeLabel",
"type": "text",
"default": "Before",
"maxLength": 18,
"label": "Before"
},
{
"name": "afterLabel",
"type": "text",
"default": "After",
"maxLength": 18,
"label": "After"
},
{
"name": "rows",
"type": "list",
"default": [
{
"label": "Setup",
"before": "3 days",
"after": "20 min"
},
{
"label": "Churn",
"before": "6.8%",
"after": "2.9%"
}
],
"min": 1,
"max": 3,
"items": "record",
"label": "Rows"
}
],
"layers": [
{
"id": "title",
"kind": "text",
"text": "{{title}}",
"role": "headline",
"align": "center",
"maxLines": 1,
"box": {
"col": 0,
"row": 0,
"cols": 12,
"rows": 2.2
},
"tall": {
"col": 0,
"row": 1.1500000000000004,
"cols": 12,
"rows": 2
},
"enter": {
"primitive": "maskReveal",
"order": 0
}
},
{
"id": "beforeCard",
"kind": "shape",
"shape": "rect",
"fill": "surface",
"radius": "lg",
"elevation": 1,
"box": {
"col": 0,
"row": 2.6,
"cols": 5.8,
"rows": 9.4
},
"tall": {
"col": 0,
"row": 3.3500000000000005,
"cols": 5.8,
"rows": 7.5
},
"enter": {
"primitive": "fadeUp",
"order": 1
}
},
{
"id": "afterCard",
"kind": "shape",
"shape": "rect",
"fill": "surface",
"radius": "lg",
"elevation": 3,
"stroke": "c1",
"strokeWidth": "thin",
"box": {
"col": 6.2,
"row": 2.6,
"cols": 5.8,
"rows": 9.4
},
"tall": {
"col": 6.2,
"row": 3.3500000000000005,
"cols": 5.8,
"rows": 7.5
},
"enter": {
"primitive": "scaleSettle",
"order": 2
}
},
{
"id": "beforeLabel",
"kind": "text",
"text": "{{beforeLabel}}",
"role": "label",
"uppercase": true,
"color": "sub",
"align": "center",
"maxLines": 1,
"box": {
"col": 0.3,
"row": 3,
"cols": 5.2,
"rows": 0.7
},
"tall": {
"col": 0.3,
"row": 3.7000000000000006,
"cols": 5.2,
"rows": 0.6
},
"enter": {
"primitive": "fadeUp",
"distance": "nudge",
"order": 1
}
},
{
"id": "afterLabel",
"kind": "text",
"text": "{{afterLabel}}",
"role": "label",
"uppercase": true,
"color": "c2",
"align": "center",
"maxLines": 1,
"box": {
"col": 6.5,
"row": 3,
"cols": 5.2,
"rows": 0.7
},
"tall": {
"col": 6.5,
"row": 3.7000000000000006,
"cols": 5.2,
"rows": 0.6
},
"enter": {
"primitive": "fadeUp",
"distance": "nudge",
"order": 2
}
},
{
"id": "bMetric",
"kind": "text",
"text": "{{item.label}}",
"role": "body",
"color": "sub",
"align": "center",
"maxLines": 1,
"repeat": {
"param": "rows",
"flow": "column",
"gap": "md"
},
"box": {
"col": 0.3,
"row": 4,
"cols": 5.2,
"rows": 7.699999999999999
},
"tall": {
"col": 0.3,
"row": 4.550000000000001,
"cols": 5.2,
"rows": 6.050000000000001
},
"valign": "start",
"enter": {
"primitive": "fadeUp",
"distance": "nudge",
"order": 2
}
},
{
"id": "before",
"kind": "text",
"text": "{{item.before}}",
"role": "headline",
"color": "sub",
"align": "center",
"maxLines": 1,
"repeat": {
"param": "rows",
"flow": "column",
"gap": "md"
},
"box": {
"col": 0.3,
"row": 4,
"cols": 5.2,
"rows": 7.699999999999999
},
"tall": {
"col": 0.3,
"row": 4.550000000000001,
"cols": 5.2,
"rows": 6.050000000000001
},
"valign": "end",
"enter": {
"primitive": "fadeUp",
"order": 2
}
},
{
"id": "aMetric",
"kind": "text",
"text": "{{item.label}}",
"role": "body",
"color": "sub",
"align": "center",
"maxLines": 1,
"repeat": {
"param": "rows",
"flow": "column",
"gap": "md"
},
"box": {
"col": 6.5,
"row": 4,
"cols": 5.2,
"rows": 7.699999999999999
},
"tall": {
"col": 6.5,
"row": 4.550000000000001,
"cols": 5.2,
"rows": 6.050000000000001
},
"valign": "start",
"enter": {
"primitive": "fadeUp",
"distance": "nudge",
"order": 3
}
},
{
"id": "after",
"kind": "text",
"text": "{{item.after}}",
"role": "display",
"color": "gradient",
"align": "center",
"maxLines": 1,
"repeat": {
"param": "rows",
"flow": "column",
"gap": "md"
},
"box": {
"col": 6.5,
"row": 4,
"cols": 5.2,
"rows": 7.699999999999999
},
"tall": {
"col": 6.5,
"row": 4.550000000000001,
"cols": 5.2,
"rows": 6.050000000000001
},
"valign": "end",
"enter": {
"primitive": "scaleSettle",
"spring": "settle",
"order": 3
},
"exit": {
"primitive": "exitLift"
}
}
]
},
"name": "Before and after"
}
}
}Reuse it: save data.motion.spec once with save_motion_spec (it is checked like validate_motion_spec), then any scene can use visual "motion" with data.motion.specId and its own params. Spec name: "Before and after".