← Experiments

Fable 5.2 Python art (30 images)

Thirty images that Claude Fable 5.2 drew with Python code only. No AI image model and no photos. Each image is shown with the exact script and the prompt that made it.

claude-fable-5-2Claude CodeNov 13, 202630 images

Every image in this experiment was drawn with Python code only. No AI image model was used, and no photos or existing artwork were downloaded or traced. Each pixel comes from a script: procedural drawing, noise, math, and small simulations. Read the full write-up ↓

The rules · 5
  1. Every pixel comes from Python code. No AI image model, and no downloaded or traced photos or artwork.
  2. No fonts, except for an optional small caption.
  3. Each image is 1600×2000 pixels, saved as a PNG.
  4. Each script runs on its own in under 10 minutes and uses a fixed random seed.
  5. The exact script and prompt are shown next to the image.

The write-up

Every image in this experiment was drawn with Python code only. No AI image model was used, and no photos or existing artwork were downloaded or traced. Each pixel comes from a script: procedural drawing, noise, math, and small simulations.

Claude Fable 5.2 made the images in Claude Code. It worked from 30 subjects in 3 sets of 10: scenes (01–10), generative art (11–20), and styles (21–30). Image 30 was the model's free choice.

Each image is 1600×2000 pixels. Each script runs on its own and uses a fixed random seed, so it reproduces the same image. The render times in the notes run from about 2 seconds to about 115 seconds, so every script finishes well inside the 10-minute limit. The scripts use three Python packages: NumPy, Pillow, and SciPy.

The exact script sits next to the image it made, with the prompt it came from, so you can read the code and judge the result yourself.

A post on X showed an image that Claude Fable 5.2 made with Python. Image 01 is an homage to it.

The format is inspired by @ducksays on X (opens in a new tab). The briefs here are my own.