animation-review
Animation Review
Review animations and interactions by recording the browser and sending the video to Gemini for structured analysis.
Prerequisites
ffmpeginstalled (brew install ffmpeg)playwrightPython package with Chromium (pip install playwright && playwright install chromium)google-genaiPython package (pip install google-genai)GEMINI_API_KEYenvironment variable set- For manual recording only: macOS Screen Recording permission granted to terminal app
How Gemini fits in
Gemini is the eyes — it watches the recording and describes what it sees with precision. You are the hands — you translate those observations into code changes with full codebase context.
Treat all Gemini analysis as observational evidence, not authoritative diagnosis. Gemini cannot see the code. When it suggests root causes or implementation fixes, treat these as hypotheses from an external observer who can see the symptoms but not the source. Its frame-level descriptions of what happens visually are reliable. Its theories about why are informed guesses that you should verify against the actual code.
This applies across all modes, but especially to diagnose (where Gemini hypothesizes about bugs) and inspire (where Gemini decomposes effects without knowing your tech stack).