# Lars og blyanten: turning my kids' drawings into a 30-second cartoon

**URL:** https://andreskristensen.blog/posts/lars-og-blyanten-turning-my-kids-drawings-into-a-30-second-cartoon

![Spider with a bow, Lars, the Boss in a party hat, Legoman and Eye in sunglasses posing together in a bright comic panel](https://cdn.sanity.io/images/i6gaeymf/production/ada27e45af0b542ba379447b43140b8a3b5e7bac-1280x720.jpg)


---

**Summary:** A parent transformed five children’s paper drawings into a 30-second animated comic in roughly two hours. The cast—Lars, Legoman, Spider, Eye, and Boss—retained their original crayon textures and uneven lines. Codex cleaned phone photos into transparent PNGs, flattened three photographed comic templates, and generated 11 additional character poses while preserving each design’s identity. It also created six story props, though some pose-cleanup attempts introduced unwanted visual changes.

The story unfolds across three comic pages. Lars initially appears trapped among monsters, but discovers that they are his own drawings and that the pencil behind his ear controls them. After accidentally erasing one of Spider’s legs, he repairs Legoman’s broken claw, brings color to the world, and befriends everyone before Spider pranks him with a mustache.

The animation was built with Claude Code and HyperFrames from a detailed plan covering timing, poses, and Norwegian dialogue. A Python script measured panel borders and layered characters correctly within the comic layouts. Cutout-style motion used bobbing, wobbling, and jitter rather than smooth morphing. A numpy script synthesized the music and sound effects without samples or AI music. The final video is 1920×1080, 30 fps, and exactly 30 seconds long.

My kids drew five characters on paper. I photographed them a little before 11 on a Saturday night, and by 1 am they were the cast of a 30-second animated comic with music, sound effects and Norwegian speech bubbles. The drawings stayed theirs the whole way. The AI tools did the cleanup, the extra poses and the animation work, and the story came from what the kids had drawn.

[▶ Video: Lars og blyanten, a 30-second animated comic](https://cdn.sanity.io/files/i6gaeymf/production/d228a5cd8a51724a99d5fe348855d8961f3c9f5a.mp4)

## The drawings

It started with phone photos of five drawings. Lars is a kid in a black hoodie. Legoman is a red and gray robot with claws. Spider is a six-legged pencil creature with horns. Eye is a hooded cyclops carrying a scythe. Boss is a very tall, wrapped figure with floating crescents around it and a smile I find a little too wide.

![The five original drawings, photographed on paper](https://cdn.sanity.io/images/i6gaeymf/production/fe19f605d8c43bca778bafe09380890ff079a803-2000x539.jpg)

They also filled in three pages from a printed comic template book: pages 9, 11 and 21, with empty panels, speech bubbles and a couple of built-in "OK!" and "ZAP!" bursts.

## Cleanup with Codex

I gave the photos to Codex and asked for clean cutouts. Each character came back as a transparent PNG, with the paper, shadows and the sideways phone angle gone. The crayon texture and the wobbly lines survived, and that was the part I cared about most. The point was to animate _their_ drawings, not a polished redraw of them.

![The same five characters after cleanup, as transparent PNGs](https://cdn.sanity.io/images/i6gaeymf/production/6f47b02b652641cd321691a03b64b1e927809f91-2000x568.jpg)

The comic pages got the same treatment. Codex turned the photos of the printed templates into flat black-on-white pages at 1086x1448.

## New poses from one drawing

A single drawing per character isn't enough for animation. Lars needs to crouch in the dark and later run with a pencil. So I asked Codex to redraw each character in new poses, using the cleaned drawing as a strict reference. Every prompt repeated the same instructions. Keep the identity, keep the childlike crayon style, change only the pose, and use a real transparent background.

That gave 11 pose variants. From left to right in each image below: the photo, the cleaned version, then the new poses.

![Lars: drawing, cleanup, crouch, action](https://cdn.sanity.io/images/i6gaeymf/production/b48b83d5d49d410bc2101d3bc1756ed9fa483ec1-1831x748.jpg)

![Legoman: drawing, cleanup, charge, defend](https://cdn.sanity.io/images/i6gaeymf/production/b9e7f9c3837460cd30c22fbcff006c608f6eea9c-2000x611.jpg)

![Spider: drawing, cleanup, skitter, pounce](https://cdn.sanity.io/images/i6gaeymf/production/1749bf2f97db17cb5994bd6bfbcb603744a2b0c7-2000x422.jpg)

![Eye: drawing, cleanup, watch, action](https://cdn.sanity.io/images/i6gaeymf/production/f2011c3f004dbcf462962ed78998ef3bef28ff63-2000x609.jpg)

![Boss: drawing, cleanup, hover, command, lean](https://cdn.sanity.io/images/i6gaeymf/production/22cc73d7e3ceaf0fd7904a6def174c618e9635ec-2000x658.jpg)

It didn't all go smoothly. Both Lars poses kept a faint gray halo from the original drawing. Codex tried a dedicated cleanup pass to remove it, but that pass changed the crayon grain, so I kept the versions with the halo. In the dark scenes you can't see it anyway. The Spider seemed to have the same problem, but checking the pixels showed the halo was already fully transparent. It was only the preview.

The story also needed six small props drawn in the same style: a pencil, a broken Legoman claw, sunglasses for a cyclops (one wide lens), a bow, a party hat and a prank mustache.

![The six props: pencil, broken claw, sunglasses, bow, party hat, mustache](https://cdn.sanity.io/images/i6gaeymf/production/f8b881c6b8f076ab52e5862809925f585795a27a-2000x194.jpg)

## The story

The plot came from looking at what the kids had made. Lars is trapped in the dark among monsters. Then he finds out they're his own drawings, and the pencil behind his ear controls them. It plays across the three comic pages, one act per page:

1. **Page 11, dark.** Lars alone. The Eye watches him, the Spider crawls closer, Legoman charges in (_KLONK!_) and the Boss rises out of the dark.
2. **Page 9, tension.** The Boss knocks off one of Legoman's claws. Lars panics and throws up his hands, and the eraser on his pencil wipes away one of the Spider's legs. "OK!" He draws Legoman a new claw.
3. **Page 21, bright.** _ZAP!_ Color floods the page. The Eye gets sunglasses, everyone becomes friends, and the Spider sneaks up and draws a mustache on Lars.

The pencil is visible behind Lars's ear from the third panel. It's the only hint before the twist.

![Page 11: printed template, cleaned template, final frame](https://cdn.sanity.io/images/i6gaeymf/production/14fcb54441d7ffe107cafe4e02deb713e2d2e8dc-2000x893.jpg)

![Page 9: printed template, cleaned template, final frame](https://cdn.sanity.io/images/i6gaeymf/production/b02fe12c91a752867f7edb0a82ddc5ef2651faf7-2000x893.jpg)

![Page 21: printed template, cleaned template, final frame](https://cdn.sanity.io/images/i6gaeymf/production/a1cc2a3699055a80e2238d74eb0dcba60c03a645-2000x893.jpg)

## Building the video

I built the animation with Claude Code and HyperFrames, which writes video as an HTML composition and renders it to MP4. I wrote the whole plan up front (timings, which pose goes in which panel, every line of Norwegian text) and gave it to a fresh session as one prompt.

A few details I liked:

- A Python script measures the real panel borders on each page instead of guessing. It splits every page into layers so the characters sit behind the panel borders and bubbles, the way they would in a printed comic.
- The characters move like paper cutouts. They squash, bob, wobble and jitter a little, with no smooth morphing.
- The soundtrack has no samples and no AI music. A numpy script synthesizes it: a creepy music box for the first two acts, bouncy music after the ZAP, and every sound effect (the metal klonk, the eraser squeak, a record scratch before "...SPIDER!") placed on its cue.

The final render is 1920x1080, 30 fps, exactly 30 seconds.

![Page 11 as it looks at the end of act 1](https://cdn.sanity.io/images/i6gaeymf/production/357d81e75bb6ba9a33af8705d1d757f5c7be56a9-1200x1600.jpg)

![Page 9 as it looks at the end of act 2](https://cdn.sanity.io/images/i6gaeymf/production/30145b0b8043b2d3dad28d2a80619af0fc87e468-1200x1600.jpg)

![Page 21 as it looks at the end of act 3](https://cdn.sanity.io/images/i6gaeymf/production/bd1f8c74d55076dd0957948833333bda48956af3-1200x1600.jpg)

## What I learned

Every character on screen is one my kids drew, and the reference-edit prompts kept them recognizable through 11 new poses. The most useful thing I did was write the plan down before asking any tool to build it. With the story, timings and bubble text fixed, the tools had very little left to guess.