Skip to content
Trending storyWatching

Simon Willison hands-on test: Having the model write SVG code instead of image generation

6 reports1 news sourcesFirst reported3 d agoUpdate

About this event

AI overview

Developer Simon Willison tested having the paid version of Gemini 4 Neon in AI Studio create images by writing code rather than generating pictures directly: a single prompt produced a 1970s-style New Zealand kakapo conservation poster, and the model's self-searched web figures (2026 record of 325, recovered from 51) he verified one by one and found all correct. He then stated that code-generated images beat image models for charts, posters, and UI — scaling without artifacts, text as real fonts, elements individually editable, and the same applies to HTML/CSS, Canvas, Blender scripts, and PDF; photorealistic photos remain the domain of image models. Willison said code models only modify single elements and preserve the rest, a version-control-like guarantee, whereas bitmap models regenerate the entire image. He also said Anthropic has no image generation product gap: Claude has the model write images as SVG, HTML canvas, Blender scripts, or WebGPU shader code. He cautioned that the poster's numbers still need independent verification; AI Studio does not render SVG, so the model cannot see its own errors and needs screenshots fed back for corrections. Free chat AIs can also write SVG code, but he used the paid tier and suggests starting with a simple poster. All of the above is his personal testing and tweets, not independently verified.

Generated from published coverage · Updated 2 d ago

Developments

2 developments

  1. Nov 29 22:01 · 2 reports
    Gemini code-generated image hands-on test: SVG design approach
    X Topic discovery: testing general models for 3D:Gemini code-generated image hands-on test: the SVG design route
  2. Nov 29 10:46 · 4 reports
    Code-based drawing has surpassed image models.
    X Topic discovery: testing general models for 3D:Don't have AI draw images—have AI write code to draw images for more controllability

Coverage timeline

Explore different perspectives through the coverage.

Dec 1
  1. X Topic discovery: testing general models for 3D
    Simon Willison: Code-generated images are more practical than dedicated image models

    Simon Willison argues that Anthropic does not have an image-generation product gap: Claude has the model write images as code—such as SVG, HTML canvas, Blender scripts or WebGPU shaders—rather than generating bitmaps. He says code models change only a single element while preserving the rest, a guarantee akin to version control; bitmap models regenerate the entire image. The article lists Opus 5.5, GPT 6 Astra and Gemini 4 Neon as examples.

Nov 30
  1. X Topic discovery: testing general models for 3D
    Hands-on test: Gemini 4 Neon writes code to create an editable SVG poster

    In AI Studio, Simon Willison had Gemini 4 Neon use code to draw a 1970s-style SVG poster promoting kakapo conservation. The model searched for and verified the data on its own, and even drew the red rimu fruit needed for the breeding season on the branches.

Nov 29
  1. X Topic discovery: testing general models for 3D
    Gemini code-generated image hands-on test: the SVG design route

    Simon Willison used Gemini 4 Neon to directly write code and generate a 1970s retro-style parrot conservation poster, and completed data research and fact-checking via Google Search.

  2. X Topic discovery: testing general models for 3D
    Code-generated images outperform dedicated image-generation models

    The tweet argues that Anthropic has closed its image-generation gap by having a text model write code to draw images; code-generated outputs such as SVG and HTML/CSS can be directly edited at the layer and text level in tools like Illustrator, whereas the flat raster images output by Midjourney, Nano Banana, and ChatGPT Images are hard to modify.

  3. X Topic discovery: testing general models for 3D
    Don't have AI draw images—have AI write code to draw images for more controllability

    Developer Simon Willison tested using Gemini 4 Neon in AI Studio to write code that generates posters: a single prompt produced a 1970s-style New Zealand kakapo conservation poster, and the numbers the model looked up online on its own (a record 325 birds in 2026, recovering from 51) all checked out correct when he verified them one by one. Code-generated images solve three major shortcomings of image-generation models: zooming in has no flaws, text uses real fonts, and elements can be modified individually; moreover, it is not limited to SVG—HTML, Canvas, Blender scripts, and PDF all work.

  4. X Topic discovery: testing general models for 3D
    Code-based drawing has surpassed image models

    Simon Willison: Code-generated images have now surpassed image models for charts, posters, and UI. The change: Late-2026 LLMs such as Gemini 4 Neon, Claude Opus 5.5, and GPT-6 Astra can write polished SVG, HTML/CSS, Canvas, or Blender scripts. Every element stays editable, fonts remain true, and scaling is flawless. Try his prompt template: "Create an SVG poster for [topic], research details first, give it a 1970s graphic design" Photorealism? Image models still win.

Activity for this event

Latest comparable score
3
Peak comparable score
10Nov 29 11:00
24-hour change
-51%

Trends compare the same continuously observed participants. Hover or tap for an hourly value, or use the left and right arrow keys.