logoalt Hacker News

Florilegium: Procedural Flowers in LaTeX

161 points • by nanna • today at 3:48 PM • 29 comments • view on HN

Comments

lkm0 • today at 7:13 PM

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)

paaloeye • today at 9:15 PM

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.

scott_codie • today at 8:36 PM

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.

➕ show 1 reply
archermarks • today at 7:06 PM

Gorgeous but the AI text is so grating.

➕ show 1 reply
ClaraForm • today at 7:05 PM

This is beautiful, thank you!

I just asked Deepseek 4.1 Flash to convert it to an Obsidian extension that uses the file-name as the seed, and the result [1] is exactly something I've been dreaming of for so many years while I take daily notes.

[1] imagepaste.org/i/8zu627ud.png

bonzini • today at 5:57 PM

Readme is AI. :/

➕ show 1 reply
vessenes • today at 8:22 PM

Nice. I like that different print runs will have different procedurally generated flowers; nice touch.

nico • today at 5:58 PM

Very impressed with both the cool idea and visuals, as well as the technical details. Had no idea you could do animations in Latex/PDF. So beautiful! Thank you for sharing

whimsicalism • today at 5:58 PM

I think the phrase 'florilegium' must be an AI basin of sorts as I've had it suggested by AI as a name for a few projects of my own.

➕ show 1 reply
skyberrys • today at 7:25 PM

I love it!!! I've tried years ago to make something like this, it didn't work out. But it makes me so happy to see that you did it! Great job!

bbor • today at 8:57 PM

Am I miffed that something I've tried multiple times with the latest models has been accomplished here so beautifully, and in LUA (!!!) nonetheless? A little! But it's worth it to know that it is indeed possible...

Great work. I doubt you care, but try not to get caught up in the idea that you might have violated someones god-given property rights by making pretty flowers for fun in the margins of PDFs.

james_marks • today at 6:20 PM

This is beautiful, thank you!

coreyp_1 • today at 5:10 PM

Quite beautiful.

b19n • today at 5:33 PM

There are (many) times lately where I have become completely disillusioned with software, despise it at work and at home. But then I see something beautiful like this and feel marginally better.

fch42 • today at 7:01 PM

This is beautiful - thanks for sharing.

Avicebron • today at 5:57 PM

Definitely taking a closer look at this after work, awesome job.

aanet • today at 6:35 PM

This is so pretty. Thanks for sharing.

RGS1811 • today at 6:16 PM

This is gorgeous! Great idea!

LeTeutz • today at 5:32 PM

YES THIS IS WHAT I NEED

ligarota • today at 7:54 PM

Now do it in Typst.

Edit: sad that is AI. And that explains why it's in LaTeX

➕ show 1 reply