# The Bearing: Diagram element for AI agents

> A compass rose sits on the cabin, its needle swings to the bearing of the jetty, and the bearing is handwritten.

Canonical page: https://agentframes.ai/elements/contour/the-bearing/
Markdown: https://agentframes.ai/elements/contour/the-bearing.md

## Overview

- Name: The Bearing (`theBearing`), an element: one HyperFrames block per size
- Part of: the [Contour](https://agentframes.ai/packs/contour.md) pack (48 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: A compass rose sits on the cabin, its needle swings to the bearing of the jetty, and the bearing is handwritten.
- 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/the-bearing.mp4
- Poster: https://agentframes.ai/media/contour/the-bearing.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

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

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `lake` | string | lake | {"type":"string","minLength":0,"maxLength":14} | Larch Water |
| `note` | string | note | {"type":"string","minLength":0,"maxLength":26} |  |

## What your agent can change

**The Bearing**. Native 1920×1080, 4.5s at 30fps.

A compass rose sits on the cabin, its needle swings to the bearing of the jetty, and the bearing is handwritten.

**Motion.** The rose pops; the needle swings 140° to the bearing (ease-out, 1 s); the note inks in.
**Why it moves.** character: navigating from the door.

### Mount

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

- `lake`: {"type":"string","minLength":0,"maxLength":14}
- `note`: {"type":"string","minLength":0,"maxLength":26}

- `note` empty writes the bearing in degrees ("62° to the water").
- The map is one fictional landscape (no real places, OS marks or sheet numbers), cropped per size.
- 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
{
  "lake": "Larch Water",
  "note": ""
}
```

## FAQ

### What can my AI agent change in The Bearing?

Your agent fills the `lake` and `note` 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 The Bearing support?

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

### How do I get The Bearing?

The Bearing 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.
