52 of 53 in the Split pack

Course Profile (elevation): Diagram element for AI agents

The race's elevation drawn as a line in the accent with a filled lane-blue area, mile markers along the base, and a marker note naming the big hill..

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

Watermarked preview. The Split pack includes all 53 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Split pack. Add a `courseProfile` beat to plan.json on a `k` canvas with slots `title`, `profile`, `markers` and `hill` 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
titlestringtitle: {"type":"string","minLength":1,"maxLength":30}.Chester *course*
profilestringprofile: JSON string. {"type":"array","minItems":4,"maxItems":24,"items":{"type":"number","minimum":0,"maximum":10000}}.[12,14,20,34,26,18,22,46,30,16,12]
markersstringmarkers: JSON string. {"type":"array","maxItems":6,"items":{"type":"object","properties":{"at":{"type":"number","minimum":0,"maximum":100},"label":{"type":"string","minLength":1,"maxLength":6}},"required":["at","label"]}}.[{"at":0,"label":"Start"},{"at":50,"label":"13.1"},{"at":100,"label":"26.2"}]
hillstringhill: {"type":"string","minLength":0,"maxLength":22}.the hill at mile 20.

What your agent can change

Course Profile (elevation). Native 1920×1080, 6s at 30fps. A cutaway on the asphalt ground.

The race's elevation drawn as a line in the accent with a filled lane-blue area, mile markers along the base, and a marker note naming the big hill.

Motion. The profile draws left to right (ease in-out) over 1.2 s; markers fade up; the area fills; the hill note inks in. Why it moves. clarity: where it hurts, before you get there.

Mount

Copy every manifest file into your project (plus af-split-runtime). Mount with a unique host id, data-composition-id="af-split-course-profile-16x9", data-composition-src="compositions/af-split-course-profile-16x9.html", data-duration and data-variable-values. A longer data-duration than 6s extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: 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}
  • profile (required): {"type":"array","minItems":4,"maxItems":24,"items":{"type":"number","minimum":0,"maximum":10000}}
  • markers: {"type":"array","maxItems":6,"items":{"type":"object","properties":{"at":{"type":"number","minimum":0,"maximum":100},"label":{"type":"string","minLength":1,"maxLength":6}},"required":["at","label"]}}
  • hill: {"type":"string","minLength":0,"maxLength":22}
  • profile is heights in any unit, evenly spaced along the course; markers[].at is a percentage along it.

Brand and layout

Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, ctaFollow, ctaLink, ctaCode. Layout: capTop (caption top, px), zoneTop (card zone top, px), exit (lift or hold).

Example

``json { "title": "Chester *course*", "profile": "[12,14,20,34,26,18,22,46,30,16,12]", "markers": "[{\"at\":0,\"label\":\"Start\"},{\"at\":50,\"label\":\"13.1\"},{\"at\":100,\"label\":\"26.2\"}]", "hill": "the hill at mile 20." } ``

FAQ

What can my AI agent change in Course Profile (elevation)?

Your agent fills the title, profile, markers and hill 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 Split look.

Which aspect ratios does Course Profile (elevation) support?

Course Profile (elevation) is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

How do I get Course Profile (elevation)?

Course Profile (elevation) is included in the Split pack, which is part of the AgentFrames All-access subscription along with 52 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 53

Get the full Split pack

Course Profile (elevation) comes as part of Split: 53 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 →

Full frame (16:9) · 30s · made entirely with this pack

More in Split

See all 53 elements in Split →