Code-driven AI illustrations are more useful than images from image models(simonwillison.net)
447 points by gmays 3 days ago | 197 comments
tl;dr: Frontier LLMs in late 2026 have become good enough at visual design that generating images via code (SVG, HTML/CSS, Blender scripts, etc.) often beats using dedicated image models like Nano Banana or ChatGPT Images. Code-driven images are fully editable, avoid glitchy text rendering, and support real typography and layer manipulation—making them better for diagrams, posters, UI, and game assets, though bitmap models still win for photorealism. This is another "bitter lesson": Anthropic's lack of an image model turned out not to matter because Claude can just write code to produce designs.
HN Discussion:
  • ↑AI driving existing design/photo tools directly is impressive and expands capabilities beyond image generation
  • ↓Code-generated images look aesthetically poor or generic, unsuitable for polished end products
  • ↑Editability and iterability of code-based assets is inherently superior, matching broader software principles
  • ↑Code-driven generation works especially well for 3D/CAD and parametric design workflows
  • ~Quality depends on setting verification standards; LLMs need clear specs to produce good visuals