Simon Willison2 min readtutorialintermediate
Kākāpō Party
Summary
The post shows how Claude Opus 5.5 can turn a few kakapo photos into a pixel‑art canvas animation, and how Claude Code can generate a Playwright script to click the animation and record a 15‑second video for a keynote slide. The provided Playwright script is concise and demonstrates timed mouse clicks to trigger confetti effects before capturing the video.
- A simple Claude Opus 5.5 prompt can generate a functional pixel‑art HTML5 canvas animation from reference photos.
- Claude Code can output a short Playwright script that automates mouse clicks and records the browser viewport.
- Timed clicks are used to trigger confetti effects at specific moments before capturing a 15‑second video.
- The resulting MP4 can be embedded directly into a Keynote presentation for a polished closing slide.
Developers building presentations or quick demos can leverage LLM‑generated code and Playwright to automate browser UI capture.
6/10


