Map animation examples: 12 styles for YouTube and social, and how to make your own

A map animation is a map that moves to tell a story: the camera zooms from the globe to a city, a route draws itself, countries fill with colour or are compared side by side. It is the standard visual for travel, history, geography and news videos. Below are 12 map animation examples by style, each one ready to copy into Claude and point at your own places.

Map animations answer "where" faster than any sentence. A zoom tells the viewer where they are, a line tells them how far, a fill tells them which places count. Most good examples use only one of those moves per beat and hold the label long enough to read.

The moving red line across a map in the Indiana Jones films is the best-known example in cinema: a plane's route drawn over an old map tells you the hero has crossed the world in five seconds. YouTube creators such as Johnny Harris and the many geography and history channels later made animated maps the main visual of whole videos.

The main styles of map animation are: globe zooms, dives from orbit to a city, country size comparisons, flag and colour fills, distance rulers, ranked map charts, labelled region maps, night-map routes, 3D relief maps, model-town routes, flight paths across the globe and playful ranked countdowns. The 12 examples below cover each style.

Choose by question. Where is it: a globe zoom or a dive to the city. How big is it really: a size comparison. How far: a distance ruler or a route. Which ranks highest: a ranking chart or a countdown. How did it spread: a relief map with routes that grow over time.

Keep maps readable on a phone. Use big labels, one accent colour for the place that matters, and a dark or muted base map so the route or fill stands out. Hold every label for at least a second, and avoid showing more than four highlighted places at once.

Every example here was made the same way. Claude (Sonnet or Opus) writes the animation as code: HTML, CSS and GSAP for 2D motion, Three.js for 3D, all on one timeline. HyperFrames then renders that code to an MP4 frame by frame, so the result is sharp at any size and identical every time you render it.

Tell Claude the places, the order and the facts, for example "start on the globe, zoom to Peru, drop a pin on Cusco, then draw the route to Machu Picchu with a kilometre counter". Claude handles the projection, the camera path and the labels. Check place names, borders and figures before you publish, as you would with any map.

Each scene gives you two ways in. Copy code hands Claude the finished film, so it only edits what you ask for and uses almost no usage. Copy prompt has Claude rebuild the scene from the prompt that made it, which uses more usage and can come out differently. Copy code is the better start when you like the preview as it is.

Map animations work in both formats: 16:9 for YouTube documentaries and 9:16 for Reels, TikTok and Shorts, where a vertical dive from orbit to a street is especially strong. Ask Claude for the size and it reframes the camera.

Can I make a map animation without After Effects or GEOlayers? Yes. Claude builds the map, the camera and the labels in code and HyperFrames renders the MP4 on your computer. Can I use real map data? Yes; ask Claude to use country shapes or a route you supply.

The examples

  1. Globe zoom: the camera starts on the whole globe and zooms onto one country, then a pin and a fact card.
  2. Orbit to city dive: one unbroken move from a night globe down to the streets, where light spreads from the old centre.
  3. Country size comparison: Greenland and Australia traced and set side by side to show their true sizes.
  4. Flag fill map: a country outline draws and fills with its flag stripes, then a fact card.
  5. Distance ruler: two cities marked, a dashed line drawn between them and a kilometre counter ticking up.
  6. Ranked map chart: the five biggest countries as growing bars, each with its outline and area.
  7. Labelled region map: four countries light up in turn with big labels and a step tag. Good for explainers.
  8. Night map route: a glowing route from London to Lisbon over a dark map, ending on a pin.
  9. 3D relief map: a plaster relief model where a province inks in and routes spread along the coast over time.
  10. Clay model town route: a rider's route draws through a white clay town at dawn, with comment cards floating up.
  11. Flight path animation: a plane draws a gold line across coast, sunset and ocean to a lit city.
  12. Cartoon ranked countdown: googly-eyed continents wake up and count down from seven to one.

Scenes to start from

Step by step

  1. Pick an example and open the scene

    Open any example above in the Scenes Library. Watch it through and pick the one whose look and pacing are closest to what you need. Browsing and previewing every scene is free.

  2. Choose Copy code or Copy prompt

    Copy code gives you the exact film in the preview and uses almost no Claude usage, because Claude only edits what is already built. Copy prompt has Claude build the scene again from the prompt that made it; it uses more usage and the result can differ. In Claude Code you can also pull the code straight into a folder with the Scenes skill (see Docs).

    node ~/.claude/skills/scenes-library/pull.mjs distance-ruler my-map
  3. Swap in your places

    Paste into Claude Code (or claude.ai to watch a live preview) and describe the changes in plain English, for example: "same distance ruler, from Sydney to Auckland, counter in kilometres, note: closer than you think, accent #E76F51, 9:16". Claude keeps the timing, camera and effects and swaps in your content.

  4. Check it and render the MP4

    HyperFrames renders the MP4 on your own computer, as often as you like, with no watermark. You need Node.js installed. Run the check first: it reports anything off-frame or broken.

    npx hyperframes check my-map
    npx hyperframes render my-map

Questions

What is a map animation?

A map that moves to tell a story: zooms, routes, fills, comparisons and rankings. It is common in travel, history, geography and news videos.

What are some good map animation examples?

The red travel lines in the Indiana Jones films are the classic. For formats you can copy, the 12 above cover globe zooms, city dives, size comparisons, flag fills, distance rulers, rankings, labelled maps, routes, relief maps and flight paths.

How do YouTubers make map animations?

Many use After Effects with plug-ins such as GEOlayers. You can also have Claude build the map in code from one of the examples above and render it with HyperFrames, without After Effects.

Can Claude make a map animation?

Yes. Tell Claude the places, order and facts, start from an example, and it handles the camera, labels and routes. HyperFrames renders the MP4. Check names and figures before publishing.

What is the difference between Copy code and Copy prompt?

Copy code gives you the exact film in the preview and uses almost no Claude usage. Copy prompt asks Claude to build the scene again from the prompt that made it, which uses more usage and can give a different result.

Can I make a vertical map animation for TikTok or Reels?

Yes. Most of the examples above are already 9:16, and Claude can reframe any of them.

More