Make Vox-Style Map Animations with Claude
Turn a voiceover into a Vox-style explainer on one engraved paper map. Copy Trey’s prompt into Claude Code to sync highlights, cutouts and camera moves to the narration, then render an MP4 with Python and FFmpeg.
Requirements
- Python
- NumPy
- OpenCV
- Pillow
- FFmpeg
Tutorial
Tell a story on one map
Use the map as a stage. When the voiceover names a place, paint it yellow. When it explains a connection, pull back to show both locations and the route between them. Trey’s prompt links geography, narration and camera moves, with Python drawing the frames and FFmpeg rendering the video.
When to use each prompt
- Use this prompt for voyages, geographic relationships and events that unfold across places.
- For characters, diagrams and planets in a science explainer, see Trey’s Kurzgesagt-style animation.
Watch for three visual cues
Play the thirteen colonies example and look for three details.
- Find the opening title card “13 colonies,” and the cut-paper number “13”. Watch how yellow picks out the region.
- Watch both shores come into view as the camera pulls back.
- Pick a number or prop and identify what it adds to the narration.
Turn the recording into a shot plan
- Open Claude Code in your project folder. Copy Trey’s prompt from this page and send it to Claude.
- If you have a recording, put the MP3 or WAV in your project and provide its path and transcript. If you are starting without audio, ask Claude for three verifiable map stories. Pick one and ask for a 25–35 second script with one action or change per sentence. Record it, then return to the same session with the file path and a transcript that matches the recording. Include a sound effects folder if you have one. Python, NumPy, OpenCV and Pillow draw the frames. FFmpeg handles encoding and the audio mix.
- Review Claude’s beat list and camera plan first. For each sentence, check the place, spoken cue and visual change. If a place name repeats, specify which occurrence should trigger the action.
Test one line of narration
Pick one recorded sentence and take both cues from it. For “The ship left Lisbon and sailed toward Madeira,” use “Lisbon” to trigger the highlight and “sailed” to pull back until both places are in view. Fill in the exercise below with your own recording, then send it to Claude.
Use this sentence from the recording: [one line of the transcript].
Start close on [place A] on the paper map. Paint it yellow the first time I say
[the name I use for place A in the recording]. On [action word said in the same
sentence], pull back until [place A] and [place B] are visible.
Align both cues to the actual recording. Render a short preview with audio
for this line and give me the file path.
Play the preview and listen for the place name as the highlight appears. Pause on the wide shot and check whether you can identify both locations. The prompt uses faster-whisper for word timestamps. If the model download fails, estimate cue positions from the speech spans, then check them against the preview.
Try one small revision. Start the pullback six frames after the same spoken action word. Keep the highlight on its original cue. Replay the shot and check whether you can identify the starting point before the camera pulls back.
Review a contact sheet and export the MP4
- Once the short preview works, ask Claude to finish the other beats and show a contact sheet with 10–12 frames. Ask for one wide shot, the tightest close-up and the frame with the most labels.
- Check for blank map edges, covered place names and paper pieces that linger into the next beat. Identify the affected shot and label, then inspect the updated sheet.
- Ask Claude to render the film and mix the narration with the effects. The source prompt targets 1920×1080 at 30 fps, with a 1.3-second hold after the last word. Play the exported MP4 and check that the voice is clear. At the end, confirm that the final spoken cue triggers its action and that the image holds for 1.3 seconds after the last word.
Tell a story along your own route
For a voyage or trade route, identify the origin, destination, one turning point and the idea viewers should remember. For each line, write down its place, spoken cue and visual action. For example, pin the starting port on departure, pull back as the narrator describes the crossing, then zoom in on the destination when it is named. If you change the language, choose a font that supports it and check long place names in the preview.