Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

map-animation

БесплатноБез исполняемых скриптовНе проверен

This skill should be used when the user asks to "make a Vox-style map animation", "animate a map zoom", "draw a route on a map", "highlight a country/region"…

iart-aiот iart-ai★ 32 звезды на GitHub

Об этом скилле

Map Animation

Build editorial, "Vox-style" animated maps: a camera that zooms, orbits, and pans over a base map while location pins drop, routes draw on, regions highlight, and labels call out — all snapped to a deliberate 12fps stutter so motion reads as graphic, not photographic. Two production paths: photoreal base motion from Google Earth Studio composited in After Effects, and code-renderable vector maps (GeoJSON/SVG) driven from a coordinates array in Remotion or D3.

When to use

  • A documentary/explainer beat that establishes place: zoom from globe to city, orbit a landmark, pan along a border.
  • Show movement across geography: a route drawing between two points, a supply chain, a migration, a flight path.
  • Highlight a country, state, or region and label it; build a step-by-step geographic walkthrough.
  • Turn a list of coordinates/events into a repeatable, data-driven map sequence for video.

Pick the path

You need Path Output
Photoreal terrain, real satellite/3D buildings, cinematic camera Google Earth Studio → After Effects Image sequence + camera .jsx, composited in AE
Clean editorial vector look, full control, data-driven Vector (GeoJSON/SVG) in Remotion or D3 Code-rendered MP4/GIF or web SVG
Pins / routes / highlights / labels on top of either Overlay layer AE shape/null layers OR React/SVG components

Most "Vox-style" pieces combine them: Earth Studio for the base camera move, vector overlays for the pins, routes, and labels on top.

The signature look: 12fps stutter

The single most recognizable trait of this style is animating the map graphics at 12fps inside a 24fps edit. The base footage and audio run at 24 (smooth); the graphic layer — camera-driven pins, route draw-on, label pops — steps at 12. The result reads as intentional, hand-built, "infographic" motion rather than soft video.

  • Math: at 24fps, hold each graphic-layer value for 2 frames (update on even frames only). At 30fps, hold ~2–3 frames (≈12.5/10fps).
  • After Effects: apply posterizeTime(12) to the layer/comp, OR nest the graphics in a 12fps precomp placed inside the 24fps master.
  • Remotion / code: snap the frame before computing any animated value:
// Quantize the timeline to 12fps "steps" while the comp renders at 24fps.
const STEP = Math.round(fps / 12);              // 2 at 24fps
const f = Math.floor(frame / STEP) * STEP;       // use `f`, not `frame`, for graphic motion
const progress = interpolate(f, [0, 48], [0, 1], { extrapolateRight: "clamp" });

Keep the base footage/camera smooth (24fps) and stutter only the graphic overlay — stuttering everything looks like dropped frames, not style.

Path A — Google Earth Studio → After Effects

Earth Studio is a browser tool that keyframes a camera over Google's 3D globe and exports two things you import into AE: an image sequence (the rendered frames) and a camera-track .jsx script that rebuilds the exact 3D camera in After Effects.

  1. Keyframe in Earth Studio (browser): set keyframes for camera position (lat/long/altitude), tilt, heading, and field of view. Use the auto-ease or set custom ease per keyframe. Keep moves slow and deliberate — establish, don't whip.
  2. Export → render: choose the image sequence (JPG/PNG), set resolution and fps, and enable the "3D Camera Export" / After Effects checkbox so it ships the .jsx and track-point files alongside the frames.
  3. In After Effects: import the image sequence as footage, then File → Scripts → Run Script File… and run the exported .jsx. It creates a comp with a 3D camera and null layers whose keyframes match the Earth Studio move frame-for-frame.
  4. Parent overlays to the track: parent your pin/label null layers to the imported 3D camera/track nulls so they stick to the right map location as the camera moves (the .jsx includes track points for any coordinates you marked in Earth Studio).
  5. Apply the stutter to the overlay precomp only (posterizeTime(12)), color-grade the base footage, then render.

See references/earth-studio-to-ae.md for the exact keyframe/export settings, the .jsx import step, and how track points map screen-space to lat/long.

Path B — Vector maps (GeoJSON / SVG)

For the clean editorial look, project GeoJSON to SVG paths and animate them. Use a real projection so coordinates land correctly.

import { geoMercator, geoPath } from "d3-geo";
const projection = geoMercator().fitSize([1920, 1080], geojson);  // fit map to frame
const toPath = geoPath(projection);
const [x, y] = projection([lng, lat]);          // any lat/long → screen pixel

Render geojson.features as <path d={toPath(f)} />. The same projection([lng,lat]) converts every pin coordinate to a screen position, so pins, routes, and labels all share one coordinate space as the camera (a scale/translate transform) moves.

Camera move in vector land is a CSS/

Полный SKILL.md на GitHub

Установить map-animation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdreferences/earth-studio-to-ae.mdreferences/vector-maps.md

FAQ

Что делает скилл map-animation?

This skill should be used when the user asks to "make a Vox-style map animation", "animate a map zoom", "draw a route on a map", "highlight a country/region", "use Google Earth Studio", "drop pins on a map and animate them", "pan/orbit a camera over a map", or "add map graphics to an explainer video". Covers Earth Studio→After Effects camera import, GeoJSON/SVG vector map motion, pins/routes/highlights/labels, the 12fps stutter cadence, and data-driven Remotion renders.

Как установить скилл map-animation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл map-animation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить map-animation с