Skip to main content

Paper Koi

An articulated paper koi holds its head steady as a wave travels down its pleated tail.

How it was made

A hand-written script rendered this demo with Python, Pillow and FFmpeg. No agent made it. The Character animation loops skill teaches your agent the same technique.

Key frames

Paper Koi · Four frames from the three-second loop, sampled at 0.00, 0.75, 1.50 and 2.25 seconds.
Four frames from the three-second loop, sampled at 0.00, 0.75, 1.50 and 2.25 seconds.

Workflow

  1. Preserve the folded edges and painted markings in a transparent source image.
  2. Move successive vertical strips with increasing amplitude toward the tail.

Reproduce this project

Install Python 3.10+ and Pillow, and add FFmpeg with libx264 to your PATH. Use DejaVu fonts on Linux or the included system-font fallback on macOS.

Extract the complete project bundle into a folder before running the command. It includes the inputs used by this project. The bundled artwork was generated with OpenAI image generation; the animation is authored separately.

python3 render.py paper-koi --out studio-output

Motion is a planar deformation of a paper sculpture illustration. No skill benchmark is attached to this demo.