LLMs generate diagrams faster via DSLs like Penrose than from scratch

keenanisalive · x · 2026-08-27

Reacting to a new model's diagramming capabilities, the author argues that LLMs should be guided by well-designed APIs and domain-specific languages (like Penrose) rather than generating from low-level languages like SVG. This approach yields better results with fewer tokens and more user control.

Original post →

More from coding & agent

coding & agent channel →