# Drive Rings: Diagram element for AI agents

> Rings of travel time spread from the cabin like contours, each labelled with a minutes plate and a town.

Canonical page: https://agentframes.ai/elements/contour/drive-rings/
Markdown: https://agentframes.ai/elements/contour/drive-rings.md

## Overview

- Name: Drive Rings (`driveRings`), an element: one HyperFrames block per size
- Part of: the [Contour](https://agentframes.ai/packs/contour.md) pack (26 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Rings of travel time spread from the cabin like contours, each labelled with a minutes plate and a town.
- 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: 4.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/contour/drive-rings.mp4
- Poster: https://agentframes.ai/media/contour/drive-rings.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

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

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | {"type":"string","minLength":1,"maxLength":30} | Everything *within reach* |
| `rings` | string | rings | JSON string. {"type":"array","minItems":1,"maxItems":3,"items":{"type":"object","properties":{"minutes":{"type":"integer","minimum":1,"maximum":180},"place":{"type":"string","minLength":1,"maxLength":14}},"required":["minutes","place"]}} | [{"minutes":10,"place":"the village"},{"minutes":20,"place":"the market"},{"minutes":35,"place":"the coast"}] |

## What your agent can change

**Drive Rings**. Native 1920×1080, 4.5s at 30fps.

Rings of travel time spread from the cabin like contours, each labelled with a minutes plate and a town.

**Motion.** The pin drops; rings grow out 0.3 s apart; their plates pop; the title shows.
**Why it moves.** attention: how far everything is, drawn as contours.

### Mount

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

- `title` (required): {"type":"string","minLength":1,"maxLength":30}
- `rings` (required): {"type":"array","minItems":1,"maxItems":3,"items":{"type":"object","properties":{"minutes":{"type":"integer","minimum":1,"maximum":180},"place":{"type":"string","minLength":1,"maxLength":14}},"required":["minutes","place"]}}

- Rings are stylised, not real drive-time maps.
- `title` takes `*word*` for the route colour.
- Text is typeset exactly as written and never shrunk: a slot that does not fit stops the block with a message.

Style: `colourway` (explorer, coast, winter), `brandColour` and `accent` (optional hex), `agency`, `footer`, `exit` (lift or cut).

### Timing

4.5s. Everything has landed by 2.7s (60%), then the scene holds still for reading and the graphics lift away over the last 0.4 s, leaving the photo or your footage.

### Example

```json
{
  "title": "Everything *within reach*",
  "rings": "[{\"minutes\":10,\"place\":\"the village\"},{\"minutes\":20,\"place\":\"the market\"},{\"minutes\":35,\"place\":\"the coast\"}]"
}
```

## FAQ

### What can my AI agent change in Drive Rings?

Your agent fills the `title` and `rings` 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 Drive Rings support?

Drive Rings is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 4.5s.

### How do I get Drive Rings?

Drive Rings 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

- [Survey Plan (floor plan)](https://agentframes.ai/elements/contour/survey-plan.md): The floor plan on a survey sheet, drawn from the room rectangles (metres): walls draw in ink, names and areas (m²) fade in, the highlight room hatches in the route colour and a pin drops into it; a north arrow and a 5 m scale bar; numbered handwritten notes.
- [The Grid Square](https://agentframes.ai/elements/contour/grid-square.md): The cabin's grid square is outlined, then lifted and magnified beside the sheet, with "you are here" handwritten.
- [What's Near (area map)](https://agentframes.ai/elements/contour/whats-near.md): Place and neighbourhood on the walking map: the cabin pin drops, then for each nearby place the pink route walks out along its footpath at walking pace, its map marker pops (the lake, the pub PH, the fell-walk summit) and its legend chip lands in the list.
- [The Walk Card](https://agentframes.ai/elements/contour/walk-card.md): The route walks from the door up the fell, and a card sets the walk's name and its distance, climb and time.

## Community

Coming soon.
