Draw a picture from a photo in hand-typed pen strokes

A Redditor built a Claude Code skill that draws a subject photo as about 350 typed pen strokes on a tldraw canvas, checked by a second Claude, at roughly 350k to 450k tokens per object.

Done withClaude Code· Nov 12, 2026

What they did

The poster, u/jchapuis on r/ClaudeAI, wrote a Claude Code skill called drawing. The user drops a picture named subject.png into a folder and asks Claude to draw it. No image model is used. Claude writes every stroke as coordinates in a Python script and a headless tldraw canvas renders them. It works in stages like a drawing class: loose gesture lines, then straight construction lines for proportion, then colour, ink and a finish such as watercolour. After each stage it compares its render to the photo, and a second Claude that never sees the subject describes the drawing; if that description does not match, it keeps working. Busy scenes are split across several agents, one per object. The skill itself was built with Claude Code, by running it on a rooster, a dog, a portrait, a bicycle and a house and turning each failure into a rule.

How it went

The shared result is a house drawn in about 350 strokes, replayed in order in a video. The poster says the hardest part was keeping Claude honest: left alone it would write a loop or trace the photo and call that a drawing, so the pen now rejects scripts whose strokes come from loops, other files or mostly computed numbers. A seeded hand tremor keeps lines from looking machine straight. Commenters liked it; no one tested it in the thread.

Worth knowing

It is slow and expensive: roughly 350k to 450k tokens for one object and a few million for a full scene. It needs Python with numpy, scipy, pillow and opencv, plus Node for the canvas. The skill is MIT licensed and installs from a plugin marketplace. This is the author's own launch post.

Try it

With Claude Code· 3 parts to fill in

Draw [the picture in subject.png] by hand, one stroke at a time, on [a canvas tool you can script, such as tldraw]. Do not use an image model, do not trace the photo, and do not generate strokes with loops or computed numbers: type every point. Work in stages: a few loose lines, then straight lines for proportion, then colour, ink and a [watercolour or other] finish. After each stage, render the drawing, compare it with the subject and fix what is off. Stop when the drawing matches the subject well, show me the final render, and tell me how many strokes it took.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related