This LaTeX package grows a unique Delft-blue flower garden in every page margin

Florilegium: Procedural Flowers in LaTeX

Florilegium procedurally generates Delft-blue floral page margins for LuaLaTeX, with no images or external assets. Every petal, leaf, and stem is a parametric curve computed in Lua while the page is written, painted like watercolor, and inserted straight into the PDF. A greedy space-filling loop borrowed from 1998 ornament research grows plants to fit the free space below the text, and the margin can respond to initials, headings, and even the season.

Every page gets its own garden.
  1. lkm0

    In the same vein, a few years ago, somebody implemented procedural decorations for a recreation of Byrne's "Elements of Euclid" in LaTeX: https://github.com/jemmybutton/byrne-euclid

    (bottom of the readme)

  2. scott_codie

    In the reddit post, it is clear the person who came up with this didn't want it to be copied. I feel sad for that person.

  3. bluerooibos

    Nice! I do slightly prefer the implementation/style in the Reddit post - do you have any plans to try and recreate that more closely or add multiple style options to it? Neat either way.

  4. archermarks

    Gorgeous but the AI text is so grating.

  5. paaloeye

    This one is a stunner! Now I'm thinking about the next level: define a number of classes of procedurally generated patterns and let LLM decide overall sentiment relevance per page and make it somewhat logical across the document.

    Rebuild the document a few times, change the temperature, and choose the best.

More from this day

2026-10-30