Code-drawn animation vs AI video generation
Updated · 1 min read
There are two ways to make a video with AI, and they give very different results.
Two approaches
Shortsman uses the second one. Here is what that changes.
- Generated video: a video model produces the pixels from a prompt, clip by clip.
- Code-drawn video: AI writes the script and directs, and the picture is drawn by code, from 2D vector puppets, HTML layouts and Three.js 3D scenes, rendered frame by frame like a game.
Text stays text
Video models often warp letters, numbers and interface details. In a code-drawn chat or caption, the text is real typography, so it stays sharp and spelled right in every frame.
Characters stay on model
A character built from parts looks the same in every shot and every episode. Generated characters tend to drift between clips: a different face, an extra finger, a jacket that changes color.
Timing is exact
Every animation is placed on the clock of the voice. Mouths move with the audio, captions follow word timestamps, and a part lights up the moment the voice names it.
Edits are cheap
Change one line and only that line is voiced and rendered again. There is no re-rolling a clip and hoping the next one comes out the same.
What generated video does better
Photoreal footage and open-ended visuals that no template covers. A code-drawn engine can only draw what it has: its characters, sets, objects and layouts. That is why Shortsman is a catalog of formats rather than a blank prompt.
How a Shortsman video is rendered
Each scene is an HTML page with 2D or Three.js 3D content. A headless browser steps through it frame by frame on the voice's timeline, and ffmpeg encodes the frames with the voices, music and sound effects into a 9:16 MP4.