7 of 50 in the Galley pack

Comparison: Two Proofs: Diagram element for AI agents

Two alternatives compared on the same basis: two proofs side by side, each headed in Ultra (one ink, one red) with a heavy rule; each row is pulled across both; the better one gets a red rubber stamp..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Galley pack includes all 50 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Galley pack. Add a `comparison` beat to plan.json on a `newsprint` canvas with slots `label`, `title`, `leftLabel`, `rightLabel`, `rows`, `pick` and `stamp` from my script. Then run validate → build → qa and show me qa/contact.jpg.

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
labelstringlabel: {"type":"string","minLength":1,"maxLength":34}.Idea 1 of 3
titlestringtitle: {"type":"string","minLength":1,"maxLength":40}.Up to you, or not?
leftLabelstringleftLabel: {"type":"string","minLength":1,"maxLength":14}.Up to you
rightLabelstringrightLabel: {"type":"string","minLength":1,"maxLength":14}.Not
rowsstringrows: JSON string. {"type":"array","minItems":1,"maxItems":4,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":20},"left":{"type":"string","minLength":1,"maxLength":32},"right":{"type":"string","minLength":1,"maxLength":32}},"required":["label","left","right"]}}.[{"label":"At work","left":"Your effort","right":"Your boss's mood"},{"label":"In a row","left":"Your reply","right":"Their opinion"},{"label":"Every day","left":"Your habits","right":"The traffic"}]
pickenumpick: {"type":"string","enum":["left","right","none"]}.left
stampstringstamp: {"type":"string","minLength":1,"maxLength":10}.Focus

What your agent can change

Comparison: Two Proofs. Native 1920×1080, 6.5s at 30fps.

Two alternatives compared on the same basis: two proofs side by side, each headed in Ultra (one ink, one red) with a heavy rule; each row is pulled across both; the better one gets a red rubber stamp.

Motion. Heads and rules print; each row label is typed, then its two answers print a beat apart; the stamp comes down (impact: ease-in) and presses. Why it moves. change: the same rows on both proofs keep it fair, and the stamp is the verdict.

Mount

Copy every manifest file into your project (plus af-galley-runtime). Mount with a unique host id, data-composition-id="af-galley-comparison-16x9", data-composition-src="compositions/af-galley-comparison-16x9.html", data-duration="6.5" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.

Content slots

Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

  • label: {"type":"string","minLength":1,"maxLength":34}
  • title: {"type":"string","minLength":1,"maxLength":40}
  • leftLabel (required): {"type":"string","minLength":1,"maxLength":14}
  • rightLabel (required): {"type":"string","minLength":1,"maxLength":14}
  • rows (required): {"type":"array","minItems":1,"maxItems":4,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":20},"left":{"type":"string","minLength":1,"maxLength":32},"right":{"type":"string","minLength":1,"maxLength":32}},"required":["label","left","right"]}}
  • pick: {"type":"string","enum":["left","right","none"]}
  • stamp: {"type":"string","minLength":1,"maxLength":10}
  • 16:9 puts the row labels in the gutter; the vertical sizes type each label above its two answers.

Style: colourway (newsprint, blueprint, night), accent (optional hex), footer, exit (lift or cut).

Timing

6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (a pool of shop light drifts slowly across the sheet; text stays still) and the ink lifts off the sheet over the last 0.5 s, leaving clean paper.

Example

``json { "label": "Idea 1 of 3", "title": "Up to you, or not?", "leftLabel": "Up to you", "rightLabel": "Not", "rows": "[{\"label\":\"At work\",\"left\":\"Your effort\",\"right\":\"Your boss's mood\"},{\"label\":\"In a row\",\"left\":\"Your reply\",\"right\":\"Their opinion\"},{\"label\":\"Every day\",\"left\":\"Your habits\",\"right\":\"The traffic\"}]", "pick": "left", "stamp": "Focus" } ``

FAQ

What can my AI agent change in Comparison: Two Proofs?

Your agent fills the label, title, leftLabel, rightLabel, rows, pick and stamp slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Galley look.

Which aspect ratios does Comparison: Two Proofs support?

Comparison: Two Proofs is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6.5s.

How do I get Comparison: Two Proofs?

Comparison: Two Proofs is included in the Galley pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

This is 1 of 50

Get the full Galley pack

Comparison: Two Proofs comes as part of Galley: 50 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Wide (16:9) · 62s · made entirely with this pack

More in Galley

See all 50 elements in Galley →