How to generate motion graphics with Claude Code in 6 steps, driven purely by time
aakashgupta · x · 2026-10-01
Aakash Gupta shares a six-step workflow for generating motion graphics with Claude Sonnet 5.5 inside Claude Code:
- Provide a reference: screenshot a graphic you like, attach it, and ask for "one HTML file, inline SVG, no libraries, a 6 second loop" — state the loop length up front so the model doesn't guess.
- Write the states in order: six lines of plain English specifying timings (key chip at 0.6s, palette at 0.95s, letters landing 1.35–2.1s with list filtering, Enter at 3.9s, toast rising).
- Make time the only input: every element is a pure function of t (0–6s), no timers or CSS keyframes, frame 0 equals frame 6 for a seamless loop.
The remaining steps cover iterative fixing, with the core idea being: visual reference + explicit timeline + pure-function rendering makes motion graphics reliably reproducible by coding agents.
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29