NaNoGenMo / 2022

National Novel Generation Month, 2022 edition.
51 stars 0 forks source link

Colonnades: an architectural fantasy #26

Open spikelynch opened 1 year ago

spikelynch commented 1 year ago

I'm reading Hypnerotomachia Poliphili, so my entry is likely to be an old-fashioned context-free grammar which generates ridiculously complicated descriptions of classical architecture

enkiv2 commented 1 year ago

I'm looking forward to seeing it! The Hypnomaterachia is a really interesting text

On Fri, Nov 4, 2022, 4:32 PM Mike Lynch @.***> wrote:

I'm reading Hypnerotomachia Poliphili, so my entry is likely to be an old-fashioned context-free grammar which generates ridiculously complicated descriptions of classical architecture

— Reply to this email directly, view it on GitHub https://github.com/NaNoGenMo/2022/issues/26, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADXUGJJ4VXXVKENW5JKBX3WGVXEDANCNFSM6AAAAAARXRAVVM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

spikelynch commented 1 year ago

Sample text generator output:

I will concisely describe this temple, for I enjoyed its incomparable serenity and its immortal construction, that Sparta never fashioned. The zophorus had nineteen spandrels carved from soapstone. Above these were sixteen cordings of black orichalcum. Below these were ten cymatii of sandstone that Pharos never dreamt of. Along these were eight trochleae carved from jade the colour of lilies. Inside these were fifteen cables carved from brown sandstone that Troy never fashioned. Below these were twelve spandrels carved from jade the colour of violets.

I will briefly describe this temple, for I admired its praiseworthy delicacy and its masterly severity. The hypotrachelia had four orbiculi carved from jade the colour of flesh, such as Caesar never built. Behind these were twenty stylobates made of yellow porphyry more precious than rubies. Between these were eighteen ovoli of basalt more beautiful than lilies. Above these were twenty fillets made of sandstone the colour of the sky, rarer than snow. Between these were four hypotracheliae carved from white soapstone sleeker than sapphires.

spikelynch commented 1 year ago

Illustrations of a couple of sentences with StableDiffusion:

grid-0028 The hypotrachelia had four orbiculi carved from jade the colour of flesh, such as Caesar never built. grid-0030 The zophorus had seven tori of soapstone the colour of morning mist. grid-0029 I will briefly describe this temple, for I admired its praiseworthy delicacy and its masterly severity.

spikelynch commented 1 year ago

Final version is done! https://github.com/spikelynch/poliphili/blob/main/samples/final.pdf

hugovk commented 1 year ago

And the code is here: https://github.com/spikelynch/poliphili

Good work, this is a nice combination of generated text and images generated from the text!