# 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.

Canonical page: https://agentframes.ai/elements/leadlight/light-sweep/
Markdown: https://agentframes.ai/elements/leadlight/light-sweep.md

## Overview

- Name: Light Sweep (`lightSweep`), an element: one HyperFrames block per size
- Part of: the [Leadlight](https://agentframes.ai/packs/leadlight.md) pack (12 of 50). Available only through the All-access subscription.
- Category: Transition
- Purpose: 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.
- Pack: [Leadlight](https://agentframes.ai/packs/leadlight.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on Daylight (pale jewel glass on stone) (`daylight`), Vellum (deep jewel glass on warm parchment) (`vellum`), Modern (Bauhaus primaries on white) (`modern`); avoid none
- Typical duration: 0.7s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/leadlight/light-sweep.mp4
- Poster: https://agentframes.ai/media/leadlight/light-sweep.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
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

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `direction` | enum | direction | {"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.

## More in Leadlight

- [Pane Wipe](https://agentframes.ai/elements/leadlight/pane-wipe.md): Transition. Leaded panes of jewel glass light up across the frame in a diagonal ripple until it is all glass, then go out the same way, revealing the next scene. Transparent; mount it above the cut.
- [Rose Iris](https://agentframes.ai/elements/leadlight/rose-iris.md): Transition. Twelve blades of a rose window close in like an iris until the frame is all glass, with a pale roundel at the hub; then the blades turn on and open onto the next scene. Transparent; mount it above the cut.
- [Lead Draw Wipe](https://agentframes.ai/elements/leadlight/lead-draw-wipe.md): Transition. A heavy lead came sweeps across the frame laying a lattice of diamond quarries of jewel glass behind it; a second pass of the came lifts the lattice away onto the next scene. Transparent; mount it above the cut.
- [Candle Out](https://agentframes.ai/elements/leadlight/candle-out.md): Transition. A candle appears at the centre, its flame gutters and goes out, the frame falls dark with a curl of smoke, and the light comes back up on the next scene. Transparent; mount it above the cut.

## Community

Coming soon.
