Typst for Image Generation

Typst sells itself as a tool for generating documents. While this is true in my experience - my resume is written in Typst - what I've found most surprising and most fun about Typst is the ability to generate images.

The following image was made entirely in Typst, compiled dynamically with data from a game my family and I play each year:

The nice thing about this image? I can sent it to my mom or dad or brother or grandpa on nearly any platform and they can view it and share it without any issue. I don't need to send them links or teach them to use a new platform: it's instantly enjoyable.

If you're interested in generating some images of your own, I'd recommend reading through the majority of the Typst documentation , especially the visualize section. Pay special attention to the place function which is the foundation of placing text, shapes, etc. freely around the canvas. The best way I've found to learn how this all works is to play. The Typst CLI makes it easy to write some Typst markup, compile it into an image, see how it looks, edit the markup, and continue playing around to see what's possible.