$ cat ./ai-news/50724017.md · 2026-12-02

Code-driven AI illustrations: why editable SVG beats image-model output

Simon Willison's post argues AI-written code that draws illustrations beats image-model output for editing. Here is what founders should take from it.

source
simonwillison.net ↗
discussion
Hacker News · 176 pts ↗
written by
DevFlexCo · AI-assisted analysis
tl;dr
  • Prefer AI output in an editable format like code or SVG so you can change text and layout later without regenerating the whole image.
  • Before publishing, check spelling, diacritics, alignment and sizing, and ask someone outside the team whether the graphic looks AI-generated.
  • Start with one repeated graphic type, such as process diagrams, and confirm commercial licensing for any tool or model you use.

What happened

Simon Willison published a post titled "Code-driven AI illustrations are more useful than images from image models" on his blog on November 28, 2026. The argument, as the title states, is that illustrations produced by having an AI write code, which then renders the graphic, are more useful than images generated directly by image models. The post was shared on Hacker News, where it gathered 176 points and a active discussion.

We only had the title, the link and the community comments available for this piece, so we cannot quote the post's own examples or test its claims in detail. What we can say is what the discussion focused on, and those views are opinions from Hacker News readers, not established findings.

Why it matters

The central idea is editability. When an image model returns a flat picture, changing one label, one color or one arrow usually means generating again and hoping the rest stays the same. When a model writes code that draws the graphic, such as SVG or another declarative format, the result is a file that can be opened, adjusted and rerun. One commenter summed up the general principle: a shareable, editable project is generally more useful than a rasterized or exported output, and that holds for people working together too.

The discussion also raised clear limits. Several commenters said the results still look machine-made. One said that an example poster was instantly identifiable as AI generated. Another, who tried to make workflow diagrams by talking to an AI agent, said it took a long time of iteration, and colleagues still found the output AI-ish. That commenter's view was that the programmatic setup helps with final polish, but that the models are not yet especially good at visual design.

A third group pushed back on the idea that code-based output is simpler. Commenters pointed to layout mistakes, text sizing and anatomical or structural errors in illustrations as signs that the craft still matters. Others noted that a model's ability to build complex, rigged 3D work through tools is a different and harder test. Taken together, the comments suggest the approach is promising for structured graphics, but that quality depends heavily on the person directing it.

What founders and small businesses should do

For a small team, the practical value is control. Marketing graphics, product diagrams, onboarding flows and simple explainers often need small edits every week. A workflow where the source is code can be version-controlled, reviewed and changed by a developer in minutes. That matters more than a single impressive first image.

Start with a narrow use case. Choose one type of graphic you publish often, such as process diagrams or feature icons, and define a simple template. Have the model generate the code for that template, then keep the output in your repository next to the rest of your site or product assets.

Build a review step. Check text for spelling and accents, especially if you serve names or languages with diacritics, because small character errors are easy to miss and look careless. Check alignment, spacing and proportions at the sizes you actually publish. Ask someone outside the team whether it looks generated, since that is the feedback that matters to customers.

Watch the licensing and provenance questions. If you use a model or a tool to produce brand assets, confirm the terms for commercial use and keep records of where the templates and source files came from.

Finally, measure the result. Track whether the graphics help with clicks, sign-ups or support questions. A clean, accurate diagram that answers a real question will usually do more than a decorative image.

The DevFlexCo take

A small team can apply this by treating illustrations as code assets: define a template, have an AI draft the SVG or diagram source, and let a developer make the final corrections before publishing. At DevFlexCo we build AI-powered products and SEO-first launches, and we see this kind of editable output as useful for keeping landing pages and product visuals current without a full design cycle. It is a workflow to test, not a replacement for a designer when the brand needs a distinctive look.

$ devflexco book --discovery-call

Have an idea or a project in mind? Book a free discovery call — we'll scope it with you and show you how to launch it with AI and win your first customers from search.

← back to ai-news