← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Florilegium: Procedural Flower Generation in LaTeX Using Lua

🔄 Updated 7d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Florilegium package generates procedural floral margins in LaTeX.
  • Uses Lua to compute and paint parametric curves directly into PDFs.
  • Designs adapt to the text layout, filling unused page space.
  • No external images or assets are required for the floral generation.

Procedural Floral Margins for LaTeX

Florilegium is a new LaTeX package that creates procedural floral page margins. The system generates Delft-blue floral designs directly into PDF documents. It operates without relying on external images, imported paths, or other assets; every petal, leaf, and stem is a parametric curve calculated in Lua as the page is being written.

Dynamic Generation and Layout

The package uses hand-authored primitives with randomized parameters, painted in Lua. A procedural layout algorithm, which incorporates a 1998 concept for filling unused space, places these elements. This allows the floral compositions to adapt to the available space on each page, creating a unique 'garden' for every document.

The generation process is dynamic; the same code with different seeds produces varied compositions. The system can also respond to document elements, such as setting initials within a floral tile.

Technical Implementation

The floral elements are painted like watercolors and written directly into the PDF. The growth of the composition is recorded during page layout, with stems drawn as prefixes of increasing length and motifs at various scales. This allows for animated replays of the growth process, demonstrating how branches extend to fill available space.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 07

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

A new LaTeX package, Florilegium, generates procedural floral page margins using Lua. It creates unique, Delft-blue floral designs directly into PDFs without external assets, adapting to available page space. The system uses hand-authored primitives with randomized parameters and a procedural layout algorithm.