Sign in →
CloudLab Works emblem: Waku the orca ringed by CloudLab and WorksCLOUDLAB WORKScrossed whale bones, one end a wrenchCloud City, headwaters of the agentic cloud revolution!

Diagram as Code & Diagram as Art

Two habits from the same keyboard. The first is the blueprint: architecture drawn twice, once as an ASCII box map that survives a terminal, a ticket and an email, and once as a Mermaid flowchart that a browser renders from ten lines of text. The second is play: Japanese motifs drawn in the same eighty columns, and an orca set that borrows the blueprint's own trick — the same subject once as a picture, once as a graph. Both are text in git before they are pictures.

Rights. Every image on this page is the property of Cloud Lab Works LLC and is shown watermarked. Sources, licences and versions drawn for another estate are by inquiry.

Diagram as code

One blueprint from the lab, in two notations of the same drawing. Left: the ASCII map, width-checked so it never wraps. Right: the Mermaid source rendered. When the two disagree, the code is wrong, which is the point of keeping both.

Diagram as art

Japanese motifs in the character set a 1978 terminal had: pipe, underscore, slash, tilde, a period for the spray. Hand-composed, each under ninety columns.

The orca set: once as a picture, once as a graph

Three pieces, each drawn twice the way the blueprints above are: the ASCII on the left is the drawing, the Mermaid on the right is the same subject read as a sequence or a structure instead of a shape. Orca, not "killer whale" — the site's own rule, stated on the mark's own card.

How it is made. The sources are one Python file: an ASCII block and a Mermaid block per blueprint, an ASCII block per motif, and for the orca set both an ASCII block and a Mermaid block per piece. A script renders the text with a monospace face on cream, renders the Mermaid in a headless browser, pads both, and bakes the watermark in. Rerun the script and every image on this page is rebuilt from the text; nothing here was drawn with a mouse.