| Florilegium: Procedural Flowers in LaTeX(github.com) | |
| 289 points by nanna 19 hours ago | 47 comments | |
tl;dr: Florilegium is a LaTeX package that procedurally generates Delft-blue floral page margins, with every petal, leaf, and stem computed as parametric curves in Lua and written directly into the PDF—no images or external assets. It supports decorated initials, flowers at headings, seasonal "aging" across pages, mirrored two-sided layouts, and alternate themes (geometric shapes or mathematical figures), using a greedy space-filling growth loop inspired by Wong, Zongker & Salesin's 1998 ornament paper. A pure PostScript port is also included, letting printers compute each garden at print time. | |
HN Discussion:
| |