HD-2D animation with Claude Code
Chunky pixel sprites in a lit, foggy miniature world filmed through a tilt-shift lens are what HD-2D animation looks like, and Claude Code can make it. Claude writes a small canvas engine and the scenes in code, and HyperFrames renders the result to MP4. No video model is involved.
ReelStyles sells this look as the HD-2D kit. Below you find what defines the style, the steps in Claude Code, a prompt to paste and the styles that come closest.
What makes the HD-2D look
The idea is a contrast. Sprites and textures step in chunky pixels, with two to four frames of animation. Everything else glides: camera, light, fog, embers and focus. Sprites look like paper cut-outs inside a real lit 3D space.
Light is the subject. Lamps, braziers and windows throw coloured pools on the ground and cast sprite shaped shadows. Fog and drifting motes hang in the air, and the frame finishes with bloom and a vignette. Each set has two temperatures. A night harbour uses cold blue fog around amber #ffb866 lamps, and a dusk square uses violet fog around pink #ff5c99 lanterns.
One texel density holds everywhere: 16 texels per metre for floors, walls and sprites. The world is built from boxes, such as a dock, a house or a stall, and everything else is a sprite billboard with a one pixel dark outline. The hero wears a single saturated colour, #d23a1c, that no set uses.
The camera always looks down, at a pitch of 30 to 55 degrees, with a long lens. A sharp band follows the subject while blur fades the top and bottom. Shots can be a very high wide, a medium orbit for a conversation or a tracking move beside a walker.
An RPG layer sits on top: a chapter card, a framed dialogue box with typewriter text and serif subtitles in Cormorant, in gold #d9b36a and paper #f4ecd8. All text stays at 28 px or larger.
Steps in Claude Code
1. Plan first
Ask for shots and light before code:
Plan a 20-second HD-2D film: a lamplighter walks a harbour at dusk. Three shots: very high wide with the band on one tiny figure, lateral track as lanterns come on one by one, medium shot with a short dialogue line. Name the light sources in each shot. Show me the plan before you write any code.
2. Build one scene and look at stills
npx hyperframes lint . npx hyperframes snapshot . --at 1,3,6,9 -o snapshots
snapshot saves PNG frames at the seconds you list. Check that shadows fall away from each lamp, the sharp band sits on the subject and the dialogue plate never clips.
3. Render
npx hyperframes render . -o out.mp4 --quality looks --workers 2
Run --quality draft first to see the camera and flicker. For narration or a read aloud line, see how to add a voiceover to a Claude Code video.
A prompt to paste
Make a 20-second 9:16 vertical HD-2D animation: a lamplighter at a harbour at dusk. Pixel sprites in a lit diorama, high three-quarter camera looking down, tilt-shift blur outside a sharp band on the lamplighter. Violet fog, pink lanterns that switch on one by one, soft bloom, sprite shadows that swing with each light. Open with a chapter card, end with one dialogue line in a framed box with typewriter text. Camera glides, sprites step. Plan first, then show stills.
For another mood, switch to a night harbour with cold fog and a single brazier as the only warm light.
Which styles come closest
If you like pixel sprites with real light, these come nearest:
| Style | Why it fits |
|---|---|
| HD-2D | The direct version: sprites, point lights, tilt-shift, RPG box |
| EmberCartpixelRPG | Pixel art with an RPG feel |
| Tilt-shifttown | Miniature world with shallow focus |
| Voxeldiorama | A lit block diorama in 3D |
They all come in one ReelStyles purchase, and you can try 10 styles free first.
What this method cannot do
It uses invented sprites and sets, so you cannot ask for the look of any existing game, character or interface. Sprites have a few poses, which suits short scenes more than long fights. The shipped example is wide, and a vertical film needs a quick check of the framing.
Questions
Can I make Shorts with it?
Yes, by asking for 9:16 in the prompt and framing close on one sprite. The example film is wide, so look at stills first. See YouTube Shorts in 9:16 with Claude Code.
Do I draw the pixel art?
You don't. The kit has people and props, and Claude assembles them into sets. You can ask for changes to colour or props.
Is this a game engine?
It isn't. It is a small renderer that makes video frames, so you get an MP4, not something you can play.
Sources
HyperFrames on GitHub (Apache-2.0). See the HD-2D style page for the example film.