24 of 50 in the Contour pack

What's Near (area map): Diagram element for AI agents

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

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Contour pack includes all 50 elements, clean and editable, in every size.

Paste this into Claude Code

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

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
kickerstringkicker: {"type":"string","minLength":0,"maxLength":18}.From the door
titlestringtitle: {"type":"string","minLength":1,"maxLength":26}.What's *near*
lakestringlake: {"type":"string","minLength":0,"maxLength":16}.Larch Water
placesstringplaces: JSON string. {"type":"array","minItems":1,"maxItems":3,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":12},"dist":{"type":"string","minLength":1,"maxLength":8},"kind":{"type":"string","enum":["lake","pub","walk","other"]},"at":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number","minimum":0,"maximum":1000}}},"required":["name","dist"]}}.[{"name":"Lake","dist":"0.2 mi","kind":"lake"},{"name":"Pub","dist":"1.2 mi","kind":"pub"},{"name":"Fell walk","dist":"0.4 mi","kind":"walk"}]

What your agent can change

What's Near (area map). Native 1920×1080, 6s at 30fps.

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.

Motion. The map draws; the title block rises; the pin drops; each route walks dot by dot (0.5 s), 0.72 s apart; the marker and chip pop with a small overshoot. Why it moves. continuity: you follow the guest out of the door to each place, in the order they would walk it.

Mount

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

  • kicker: {"type":"string","minLength":0,"maxLength":18}
  • title (required): {"type":"string","minLength":1,"maxLength":26}
  • lake: {"type":"string","minLength":0,"maxLength":16}
  • places (required): {"type":"array","minItems":1,"maxItems":3,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":12},"dist":{"type":"string","minLength":1,"maxLength":8},"kind":{"type":"string","enum":["lake","pub","walk","other"]},"at":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number","minimum":0,"maximum":1000}}},"required":["name","dist"]}}
  • kind picks the path and marker on the sheet (lake = the jetty, pub = PH, walk = the summit path); other takes at in map units (0-1000) and walks straight there.
  • 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

6s. Everything has landed by 3.6s (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 { "kicker": "From the door", "title": "What's *near*", "lake": "Larch Water", "places": "[{\"name\":\"Lake\",\"dist\":\"0.2 mi\",\"kind\":\"lake\"},{\"name\":\"Pub\",\"dist\":\"1.2 mi\",\"kind\":\"pub\"},{\"name\":\"Fell walk\",\"dist\":\"0.4 mi\",\"kind\":\"walk\"}]" } ``

FAQ

What can my AI agent change in What's Near (area map)?

Your agent fills the kicker, title, lake and places 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 What's Near (area map) support?

What's Near (area map) is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

How do I get What's Near (area map)?

What's Near (area map) 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.

This is 1 of 50

Get the full Contour pack

What's Near (area map) comes as part of Contour: 50 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Wide (16:9) · 39s · made entirely with this pack

More in Contour

See all 50 elements in Contour →