# Grid Wipe Transition: Transition element for AI agents

> Second transition: the engineering grid's cells fill with ink along a diagonal to cover the cut, then clear along the same diagonal.

Canonical page: https://agentframes.ai/elements/kernel/grid-wipe/
Markdown: https://agentframes.ai/elements/kernel/grid-wipe.md

## Overview

- Name: Grid Wipe Transition (`gridWipe`), an element: one HyperFrames block per size
- Part of: the [Kernel](https://agentframes.ai/packs/kernel.md) pack (50 of 50). Available only through the All-access subscription.
- Category: Transition
- Purpose: Second transition: the engineering grid's cells fill with ink along a diagonal to cover the cut, then clear along the same diagonal.
- Pack: [Kernel](https://agentframes.ai/packs/kernel.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 Paper (light) (`paper`), Stone (warm grey) (`stone`), Night (dark) (`night`); avoid none
- Typical duration: 1.2s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/kernel/grid-wipe.mp4
- Poster: https://agentframes.ai/media/kernel/grid-wipe.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Kernel pack. Add a `gridWipe` beat to plan.json on a `paper` canvas with slot `word` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `word` | string | word | {"type":"string","minLength":1,"maxLength":18} |  |

## What your agent can change

**Grid Wipe Transition** (Creative devices and transitions). Native 1920×1080, 1.2s at 30fps, transparent overlay transition.

Second transition: the engineering grid's cells fill with ink along a diagonal to cover the cut, then clear along the same diagonal.

**Motion.** Cells scale up from their centres on a diagonal sweep (0.10-0.44 s), cover 0.44-0.70 s (0.26 s), then shrink away (0.70-1.04 s).
**Why it moves.** continuity: the background grid becomes the wipe, so the cut feels built into the page.

### Mount

Copy every manifest file path → target into your project (plus `af-kernel-runtime`). Mount with a unique host id, `data-composition-id="af-kernel-grid-wipe-16x9"`,
`data-composition-src="compositions/af-kernel-grid-wipe-16x9.html"`, `data-duration="1.2"` and native `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 inside `data-variable-values`. Every slot is checked against `constraints.json` before anything draws;
the block stops with a message naming the slot, its value and the fix (it never truncates or shrinks text to fit). Measured layout
limits (lines per box, items per layout) are also enforced and reported the same way.

- `word`: string. {"type":"string","minLength":1,"maxLength":18}

- Transparent overlay: mount above both scenes with style="z-index:10", starting 0.6 s before the cut.

Style (role "style", defaults from brand.json): `brandName`, `series`, `colourway` (paper | stone | night), `accent`,
`headingFont` (Geist | Inter), `monoFont` (Geist Mono | JetBrains Mono), `logo` (empty or inline base64 image), `footer`.
Footer meter: `sceneIndex` (zero-based) and `sceneTotal`.

### Timing

1.2s. Covers the whole frame from 0.44 s to 0.70 s (0.26 s). Start it 0.6 s before the cut, on a track above both scenes, with style="z-index:10" on its mount (HyperFrames stacks clips by start time, so without it the next scene paints over the sweep).


### Example

```json
{
  "word": ""
}
```

Source: editable HTML + the shared runtime. Facts in the example content: see the pack's docs/SOURCES.md.

## FAQ

### What can my AI agent change in Grid Wipe Transition?

Your agent fills the `word` 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 Kernel look.

### Which aspect ratios does Grid Wipe Transition support?

Grid Wipe Transition is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 1.2s.

### How do I get Grid Wipe Transition?

Grid Wipe Transition is included in the Kernel 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 Kernel

- [Pill Sweep Transition](https://agentframes.ai/elements/kernel/pill-sweep.md): Signature transition: the ink pill button slides in, expands to cover the frame for the cut, then shrinks back to a pill and exits right, with an optional mono chapter word.
- [Opening Hook: Announcement + Underlined Premise](https://agentframes.ai/elements/kernel/opening-hook.md): Opens the explainer like a product launch: an announcement chip, a centred premise with one key word underlined, a one-line promise and pill buttons.
- [Definition: Term → Streamed Meaning](https://agentframes.ai/elements/kernel/definition.md): Defines one term: the term card lands, an arrow states "means", and the meaning streams in like a model answer, followed by an everyday example.
- [Step Flow: Numbered Cards + Packets](https://agentframes.ai/elements/kernel/step-flow.md): A sequence of 2-5 steps; each card lands at its cue, a packet travels the connector into it, and the current step inverts to ink.

## Community

Coming soon.
