Skip to main content

Lantern Market

Paper lamps light a vendor’s workbench and a rain-dark lane. Follow the practical lights and their reflected color.

How it was made

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

Key frames

Lantern Market · 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. Start from the supplied environment plate with warm practical lights against cool dusk.
  2. Create soft masks around lamps and a pavement reflection. Offset their brightness on a periodic curve.
  3. Swing each hanging lantern about its cord point, drift maple leaves through the lane and move the camera on a closed loop.

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 lantern-market --out studio-output

A 2D lighting study with baked perspective. Lantern swing, falling leaves and camera drift are composited onto the single plate. No skill benchmark is attached to this demo.