artemnovitckii/claude-animation-skills / skills/map-route
map-route
VerifiedMakes a 3D map animation for a reel. A clean white city with parks and a river, a coloured route that draws itself from start to destination while the camera follows, a red pin that drops with a bounce, an ETA card that counts down and a destination card. Use when the user runs /map-route or asks for an animated route, a "from A to B" map, a journey or a commute animation.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.6 KB |
| build.pyexecutable | script | 1.2 KB |
| template.html | other | 16.3 KB |
build.py
View on GitHub#!/usr/bin/env python3
"""/map-route: spec.json -> a white 3D city where the route draws itself, the pin drops and the camera pulls back (1080x1920, 4 s).
python3 build.py <spec.json> [--snap 1.0,3.6]
"""
import re
import sys
from pathlib import Path
HERE = Path(__file__).resolve().parent
sys.path.insert(0, str(HERE.parents[1] / 'kit'))
import anim # noqa: E402
DEFAULTS = {'destination': None, 'minutes': None, 'distance': None, 'unit': 'km',
'places': ['North Quay', 'Botanic Gardens', 'Market Hall', 'Elm Park', 'The Canal'],
'accent': '#2f7cf6', 'seed': 7}
def check(spec):
if not spec['destination'] or spec['minutes'] is None or spec['distance'] is None:
sys.exit('spec: "destination", "minutes" and "distance" are required')
if not re.fullmatch(r'#[0-9a-fA-F]{6}', spec['accent']):
sys.exit('spec: "accent" must be a hex colour like "#2f7cf6"')
if len(spec['destination']) > 26:
print('note: a destination over ~26 characters makes a wide card; shorten it if the sheet looks cramped')
spec['places'] = (list(spec['places']) + [''] * 5)[:5]
if __name__ == '__main__':
anim.build(HERE / 'template.html', DEFAULTS, duration=lambda s: 4.0, three=True, check=check)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |