Paint photorealistic pictures in code with simulated brushstrokes

Anthropic staff had Fable 5.2 write 1,000 to 2,000 line Python programs that paint with simulated bristles and wet paint; one photoreal parking garage scene took about 700,000 strokes.

Done withClaude· Nov 15, 2026

What they did

The Decoder reported on experiments two Anthropic employees shared publicly. Jake Eaton asked Fable 5.2 to make a painting as close to a photograph as it could, with no image model and no traced or pre-rendered reference. For each piece the model wrote a Python program of 1,000 to 2,000 lines that drives a simulated paint engine with bristle texture and paint deposit, and Eaton steered it with comments between passes. After earlier work with Opus 5.5 was criticised as copying known art, he had the model invent artist personas with their own backstories and styles. Michael Graczyk ran a stricter version: the model had to emit every stroke as its own line of coordinates, colour and width, with no undo, and look at the canvas between passes.

How it went

Eaton's photoreal test produced a shopping cart in a parking garage from roughly 700,000 strokes. Graczyk's bird at sunrise took 111 strokes; when the bird's back came out thin, the model laid a heavier stroke over it and the stray bristle marks read as ruffled feathers. In a 280-stroke dusk scene a late lighting pass smeared some objects on a table, and the model repainted them afterwards. The article gives no run times or costs.

Worth knowing

Both people work at Anthropic, so this is the vendor's own staff showing off a new model, relayed by a news site rather than told first-hand. The harness the model ran in is not named. Because there is no undo, mistakes have to be painted over, which is part of the look.

Try it

With Claude· 4 parts to fill in

Write a Python program that paints [subject] on a [width]x[height] canvas by simulating real brushwork: bristle texture, how wet paint goes on, and strokes that cannot be undone. Do not use any image model, photo or traced reference. Pick a consistent painter persona and style first, describe it in two lines, then paint in passes from large blocks of colour to fine detail. After each pass, render the canvas, look at it, list what looks wrong, and fix it with new strokes over the top. Stop after [number] passes or when I say it is done, and report the stroke count.

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

Where they said it

Related