Lucky· @665162 · X·· 4 d agoAI score46
Don't have AI draw images—have AI write code to draw images for more controllability
Editorial summary
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.
Source: Lucky · x.com