# Grid Fill Transition: Transition element for AI agents

> The map grid's squares fill with paper in a sweep from the top-left to cover the cut, then clear.

Canonical page: https://agentframes.ai/elements/contour/grid-fill/
Markdown: https://agentframes.ai/elements/contour/grid-fill.md

## Overview

- Name: Grid Fill Transition (`gridFill`), an element: one HyperFrames block per size
- Part of: the [Contour](https://agentframes.ai/packs/contour.md) pack (44 of 50). Available only through the All-access subscription.
- Category: Transition
- Purpose: The map grid's squares fill with paper in a sweep from the top-left to cover the cut, then clear.
- Pack: [Contour](https://agentframes.ai/packs/contour.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 Explorer (map buff, woodland green, route pink) (`explorer`), Coast (sand, sea blue, red route) (`coast`), Winter (snow white, slate contours, orange route) (`winter`); avoid none
- Typical duration: 1.1s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/contour/grid-fill.mp4
- Poster: https://agentframes.ai/media/contour/grid-fill.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Contour pack. Add a `gridFill` beat to plan.json on a `explorer` canvas with slots its text from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

This element has no content variables.

## What your agent can change

**Grid Fill Transition**. Native 1920×1080, 1.1s at 30fps. Transparent: mount it on a track above the scenes.

The map grid's squares fill with paper in a sweep from the top-left to cover the cut, then clear.

**Motion.** Squares grow along the diagonal to full cover by 0.5 s; hold to 0.62 s; clear by 1.05 s.
**Why it moves.** change: the grid, as a wipe.

### Mount

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

- (no content slots)

- Mount on track 1 (`style="z-index:10"`) 0.56 s before the cut; set the outgoing scene's `exit` to `cut`.

Style: `colourway` (explorer, coast, winter), `brandColour` and `accent` (optional hex), `agency`.

### Timing

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

### Example

```json
{}
```

## FAQ

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

Your agent fills the its text 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 Contour look.

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

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

### How do I get Grid Fill Transition?

Grid Fill Transition is included in the Contour 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 Contour

- [Map Fold (transition)](https://agentframes.ai/elements/contour/map-fold.md): A full-frame handover: a walking map unfolds across the frame in four accordion panels, lies flat over the cut with the cover tag on it, then folds away to the far edge to reveal the next scene.
- [Contour Ripple Transition](https://agentframes.ai/elements/contour/contour-ripple.md): Contour rings ripple out from the centre and fill with map paper to cover the cut, then ripple back away.
- [Route Band Transition](https://agentframes.ai/elements/contour/route-band.md): A broad band in the route colour edged with walking dots sweeps across on a diagonal and covers the cut.
- [Status Tab](https://agentframes.ai/elements/contour/status-tab.md): The listing status on the walking map: the cabin pin drops, the exterior unfolds from it as a folded map panel, and the status tab slides out under it in the route colour with a handwritten detail. On a swap the tab flips over to the new status in ink (Last few dates → Fully booked).

## Community

Coming soon.
