diagrams is a powerful, flexible, declarative domain-specific language for creating vector graphics, using the Haskell programming language.
Get started
Read the quick start tutorial or the user manual.
Get excited
Check out the gallery for example images and code.
Get connected
Drop by the #diagrams
IRC channel with questions, or post them to the mailing list.
Diagrams 1.4 released! See the migration guide for help porting existing diagrams code to 1.4.
Ryan Yates and Brent Yorgey gave a presentation about diagrams at FARM 2015. The slides are available here.
Jeff spoke about diagrams at the New York Haskell users’ group. Diagrams: Composition, Envelopes and Alignment. Part 1 is about compositon and envelopes., and part 2 talks about animated GIFs and the design of the arrow API.. The slides are also available.
Diagrams 1.3 released! Look for a blog post soon with a rundown of new features. In the meantime, see the migration guide for help porting existing diagrams code to 1.3.
Brent gave a talk on diagrams at the New York Haskell users’ group. Part 1 presents a basic introduction to the library, and part 2 talks about mathematical abstraction and DSL design. The slides are also available.