Territory map animation with Claude Code
Coloured borders that grow and shrink while a year counter runs make a territory map animation, and Claude Code can build one. Claude writes the map and the events as code, and HyperFrames renders the result to MP4. No video model is involved. ReelStyles sells this look as a ready kit called Territory Map.
Below you find the rules that give the map its calm atlas feel, the steps to follow in Claude Code, a prompt to paste, and the styles that sit nearest to it.
What makes the territory map look
The map shows an invented continent. That is on purpose: no real borders, names or flags. It reads like a patient atlas and never like a game screen.
Water is sea blue (#5b88a4, with a deeper #3f6a88 and pale shallows #cfe3e8) with drifting wave strokes. Land is sand (#e7d5a6) with soft hill shading and a few mountain ticks. A paper grain boils over everything and a warm vignette closes the edges.
Each state is a solid colour fill. The kit uses muted tones such as ochre #c9a15b, sage #8fa57a, terracotta #c27d5e and teal #5f9c9a. A state keeps its colour for the whole film. Red #b8322a is kept for war and nothing else.
Territories change because their reach changes with the year, so a border eases outward instead of popping. A split is one reach falling while another rises beside it. Arrows draw from tail to head for campaigns, and gold dashes keep marching along trade routes. A new city springs in with three cream rings.
The year counter is an odometer in Inter, and labels use the small-caps serif Cormorant SC. One cream event card slides in at a time. The camera opens on the whole map, pushes into the region in play, and pulls back at the end.
Steps in Claude Code
1. Plan first
Plan a 60-second 16:9 territory map film. Invented continent, one state that splits into two rivals, a war border in red, and a trade route that ends it. List the years, four event cards, and the camera path. Show me the plan before you write any code.
2. Build one scene and check stills
npx hyperframes lint . npx hyperframes snapshot . --at 1,3,6,9 -o snapshots
Look at the frames. Does each state keep its colour? Is red only on the war border? Is any label touching the year plate? Fix these before you render.
3. Render
npx hyperframes render . -o out.mp4 --quality looks --workers 2
Narration is a separate step, and my guide on how to add a voiceover covers it.
A prompt to paste
Make a 60-second 16:9 territory map animation: "How a mountain pass turned a village into a capital". Invented continent on parchment and sea, year counter from 200 to 480. One small state grows around the pass, founds three cities, absorbs a neighbour, then splits when a rival forms. Red border only during the war. One cream event card at a time, four cards in total. Open on the whole map, push to the pass, pull back for the final two seconds. Plan first, then show stills before the full build.
For a variation, ask for month ticks instead of years and tell the story of one long siege.
Which styles come closest
The Territory Map kit is the direct match. These neighbours give you a similar calm, explainer feel with a different subject.
| Style | Why it fits |
|---|---|
| Territory Map | Parchment map, growing borders, year counter, event cards |
| Fantasy atlas journey | A paper atlas look for a route across a made-up land |
| Ranking Race | Another counter-driven film where values move over time |
| Evolution timeline | A time axis with events, without the map |
They all come in one ReelStyles purchase, and you can try 10 styles free first.
What this method cannot do
The map is invented. If you need a real country with exact borders, you must supply that data yourself, and the kit does not ship it. There are no faces or soldiers, so stories about individual people need another style. The shipped example is wide, so a vertical Short has to be asked for in the prompt.
Questions
Can I show a real country?
The kit draws an invented continent and avoids real borders and names. That keeps the film free of disputes. Stories about real places fit better in a different style.
Does it work for Shorts?
The shipped example is 16:9. You can ask for 9:16 in the prompt, then check the stills, since labels and cards need to fit a narrow frame.
How do I control how many states appear?
Tell Claude the number of states, the years each one appears and its colour. The kit lets a film change the number of states, the seed of the continent and the years per second.
Sources
HyperFrames on GitHub (Apache-2.0). See the Territory Map style page for the example film.