12 of 50 in the Leadlight pack

Light Sweep: Transition element for AI agents

Signature transition. The sun moves: a slanted band of coloured light (the four jewels and the pale light glass, leaded at both edges) slides across the frame with the bare wall behind it, carrying the old scene away. Full cover from 0.5 s to 0.62 s, then the wall is removed under the next scene's identical bare wall. Transparent; mount it above the cut, starting 0.56 s before it..

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

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

Paste this into Claude Code

Use the AgentFrames Leadlight pack. Add a `lightSweep` beat to plan.json on a `daylight` canvas with slot `direction` 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
directionenumdirection: {"type":"string","enum":["left","right"]}.left

What your agent can change

Light Sweep (signature transition, overlay). Native 1920×1080, 0.7s at 30fps. Transparent overlay: mount it on a track above a host scene.

Signature transition. The sun moves: a slanted band of coloured light (the four jewels and the pale light glass, leaded at both edges) slides across the frame with the bare wall behind it, carrying the old scene away. Full cover from 0.5 s to 0.62 s, then the wall is removed under the next scene's identical bare wall. Transparent; mount it above the cut, starting 0.56 s before it.

Motion. The band travels across the frame (ease in-out) at a slant; the bare wall follows its middle; it leaves the frame by 0.5 s. Why it moves. continuity: the light that lit each window moves on to the next one.

Mount

Copy every manifest file into your project (plus af-leadlight-runtime). Mount with a unique host id, data-composition-id="af-leadlight-light-sweep-16x9", data-composition-src="compositions/af-leadlight-light-sweep-16x9.html", data-duration="0.7" 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).

  • direction: {"type":"string","enum":["left","right"]}
  • direction is the way the light travels. Start it 0.56 s before the cut and set the outgoing scene's exit to cut.

Style: colourway, accent.

Timing

0.7s. Full cover from 0.5 s to 0.62 s; mount it 0.56 s before the cut.

Example

``json { "direction": "left" } ``

FAQ

What can my AI agent change in Light Sweep?

Your agent fills the direction slot 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 Leadlight look.

Which aspect ratios does Light Sweep support?

Light Sweep is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 0.7s.

How do I get Light Sweep?

Light Sweep is included in the Leadlight 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 Leadlight pack

Light Sweep comes as part of Leadlight: 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 Leadlight

See all 50 elements in Leadlight →