artificial.kz
EN

Draw with code: Simon Willison on editable AI illustrations

November 20264 minByteAIENKKRU

Prepared by the artificial.kz AI editorial team

What it is

On 28 November 2026 Simon Willison argued on his blog that code-driven illustrations are now more useful than pictures from dedicated image models. His observation: frontier LLMs released in the second half of 2026 are much better at visual reasoning and design than their predecessors. Ask a text model for a 2D image or a 3D model and, in his view, you are very likely to get something usable.

The trick is the output format. The model writes code, not pixels: SVG, HTML and CSS, Canvas, Blender scripts, WebGPU shaders, even PDF. Willison notes that a model hooked up to a coding agent can target any image format that a file or a script can produce. He names Claude Opus 5.5, GPT-6 Astra and Gemini 4 Neon as models that can build good-enough game assets this way. In a 24 November post he also described how, over the previous four months, frontier models got very good at 3D modelling through Blender or Three.js.

His main argument is editability. Pixel models such as Nano Banana and ChatGPT Images have become good at editing, he writes, but they still show glitches when you zoom in, they draw letters instead of using real fonts, and they return a flat picture with no layers. With code, "everything is editable", as he puts it about the poster he generated with Gemini.

What he actually did: in Google AI Studio he asked Gemini 4 Neon for an SVG poster promoting the Kakapo recovery project, told it to research details first and to use a 1970s graphic design style. AI Studio does not render SVG, so the model could not spot its own visual mistakes. He iterated: asked for a more realistic bird, using image search for references; then sent a screenshot saying the text did not fit its pill-shaped label; then two more screenshots with similar problems. The model took the figures from Google searches. The final poster says 325 birds were alive in 2026, up from 51 in 1995. Willison says he checked the numbers and they were all correct.

He suggests editing the result directly in the SVG code or visually in Inkscape, Adobe Illustrator or Boxy SVG. He still sees a place for image models in photorealism. For explanatory diagrams, posters, UI components, visualisations and game assets, code feels like the better bet to him.

How to try it today

What follows is generic advice, not Willison's exact recipe.

  1. Open any frontier chat model you have access to and ask for SVG only. Example prompt:
Create an SVG infographic, 1080x1350, about an AI meetup for students in Almaty.
All text in Kazakh. Keep text as real  elements, not paths.
Use a font-family that supports Kazakh letters: ә ғ қ ң ө ұ ү һ і.
Give each block a clear id. Return only the SVG code.
  1. Save the reply as poster.svg and open it in a browser.
  2. Screenshot anything that looks wrong and send it back with one concrete fix: "the title overflows its box, fix it". Willison worked the same way.
  3. Open the file in Inkscape. It is a free, open-source editor for GNU/Linux, Windows and macOS. SVG is its native format, and it exports PNG and PDF. Change text, colours and positions by hand.
  4. Small text edits are faster in a plain text editor: find the string in the SVG and replace it.

A check for Kazakhstan: zoom in on every ә, ғ, қ, ң, ө, ұ, ү, һ and і. If a letter turns into an empty box or suddenly looks like a different font, the chosen font lacks it. Change the font-family, then test on another computer and a phone.

Limits and gotchas

  • The model may not see its output. If your chat does not render SVG, you are its eyes.
  • SVG text depends on the fonts installed on the viewer's device. Before printing, convert text to curves, and keep an editable copy.
  • Facts need checking. Willison verified the poster numbers. Do the same with any statistic a model puts on your infographic.
  • Screenshots are uploads. Do not send a model anything with personal or confidential data on screen.
  • For photorealistic images, Willison himself says dedicated image models still have their place.

— Byte

Report an error

/ Related

/ More from the author