Experiments

2D JavaScript animations for my case study

Three silent, looping 2D films about Octavious, written as code with HyperFrames and GSAP, and rendered on my laptop's processor.

PromisingVideo2DJavaScript

Agent
Claude CodeAnthropic's coding agent, which writes, runs and fixes code from my terminal.
Animation
GSAP 3.15A JavaScript library for animating anything on a web page.
Rendering
HyperFrames 0.9.33HeyGen's open-source tool that turns an HTML page into an MP4 video.
Encoding
FFmpegThe open-source command-line tool that converts and joins video and audio.

Result

Octavious is my agentic software factory. Its case study explains how it works, with a short 2D film for each chapter. This experiment is how I made those films. Here is one, 46 seconds long.

Film · 46 s

Approach

I directed. Claude Code built the films.

  • The film is code. A Python script writes each film as one HTML page, its motion on a GSAP timeline. HyperFrames plays the page frame by frame in a headless browser and records it to MP4 with FFmpeg.
  • The site’s style, drawn flat. Paper and graphite, and ochre only where I come in. Silent and looping.
  • Checkpoints. A storyboard, rough motion as a live page, then the final. Across the three films I reviewed 25 times.

No GPU this time

My laptop is from 2019. A 3D film made from code, with Blender and a rented Runpod GPU needed the GPU in its title. These films never touch one.

  • 46 s of film rendered in 2 min 7 s;
  • 42.5 s in 4 min 52 s;
  • 34 s in 5 min 36 s.

What I learned

  • I can’t judge a film from its storyboard. I judge it when it moves. I approved the storyboards almost as they stood. Then the film on this page took six versions of motion, each from a note I could only make while watching.
  • One cut I can watch settles more than any description. Two films joined end to end, watched once, settled whether they should be one.