-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quilt poems #22
Comments
Oh wait, it needs to be space-corrected to look visually like a quilt! This will depend on whether you're looking at this in a monospace font!
Here's a screenshot since you're probably not viewing this in monospace: and in dark mode: Could still put color back into this! |
I'm back
|
Ok, lots more progress. I have many input data files (sanitized) from the corpora site. Now the program randomly picks a data source, picks pieces and then constructs the housetop quilt. Next step is to add more quilt patterns to select from instead of just housetop. I'm also wondering if I should have some lines of text incorporated in some way from the book I found on Project Gutenberg called Quilts: Their Story and How to Make Them by Marie D. Webster from 1916. Maybe
vs |
Project has a repo now. Rather than this colorized command line output or no-color output I think I'll likely go in and output html/css files so I can make a nice printable booklet. I think? Or maybe the goal should be to print a nice black and white zine? Patterns? Just words? Hmmmm. |
Some more BW no-color tests in the command line with many more quilt variations now:
Wow, some of these are great. I think I want to center the word within their block next. I was thinking I should print out the type of quilt after the name as well, so I'll have to add a lookup table or edit the big quilt pattern table, but i don't think i want to mess with its structure right now, for fear i'll have to modify the code elsewhere so lookup table it is. |
lookup table added. debugger and colors can be turned on and off.
Now to generate 50k words? I have a function (in the sense of art opening, party), so let me come back to things tomorrow and see how I feel. |
added some more variations. okay, now i'm off the for the night.
|
Came back from the party and thought i'd run another few off before bed. Still in love with this program:
|
one more before bed.
|
Okay, that wasn't too bad. I took a first pass at evenly distributing spaces before and after a word to get to the total maximum word length. I'm doing it per quilt rather than per column. I'm also making it so that if the number of spaces is odd then there is one less space in the "before spaces." Here's an example of how it looks now:
And another one:
and one more:
I assumed centering text was better but I think I need to hear some feedback from folks whether that is correct. I'm not sure! Maybe solid columns starting at same char location per column is better? Dunno. Will need to try some more. |
|
Ok, I think I'm done for now. I made some final edits and then monkeyed around with some ways to render to pdf with pandoc and latex but struggled with finding a proper fontsize to render (I tried pdflatex, weasyprint...). If the font is too big, the lines break. If the font is too small, unreadable. I ended up opening one of the outputs in libreoffice and manually editing a cover and info page. I think that's okay. I also looked for a good quilt image to put on the cover but ultimately went with a photo of my studio with a quilt hanging in it that I sewed, and my industrial Juki sewing machine that I've now sold. It's an old photo. An example Quilt Poems book text output PDF of a finished book (with manually added cover pages) At some point I'll print a subset of quilt poems and turn into physical booklets I think. |
update: see project repo
I have a bit of an idea in my head for a book of computational quilt poems but don't know all the "pieces" yet ( lil quilt joke there for ya).
I'm just gonna talk it out loud here in text as I write.
I'll probably code in Lua since that's been my fave language to mess around in for a while.
I think I'll have recipes for different patchwork quilt styles, like log cabin, lazy gal bars, housetop, blocks and strips,
A lot of my visual quilt influence comes from the Gee's bend quilters, but I'm not sure.
At first I was thinking about using numbers to make a quilt:
"crazy":
a Housetop variation:
Then, considering Puzzlescript, I could turn these into color blocks for example and build out a whole quilt, where each number is one square in one color.
Here's a past example of a puzzlescript sound toy thing I made that kind of looks like that kind of approach:
I think that's worth pursuing again at some point, but maybe not for this project where I'm trying to produce a "novel" of 50k words.
So instead, what if each number in the pattern for a quilt is a word.
So what would an example from that housetop variant look like?
Maybe I need to pick a title, and then select words for that quilt poem based on that title?
I'm not sure what corpora to use and I'm not much of a fan of LLMs so I'll just try one out using some of Darius' Corpora as a first test:
I went into the "colors" category, which is ironic since I was talking about not using color, but I guess it counts if it's words. I used only single-word color names from crayola for this first test:
Mahogany Housetop
Almond Almond Almond Almond Almond Almond Almond Almond Almond
Almond Carnation Carnation Carnation Carnation Carnation Carnation Copper
Almond Carnation Mahogany Mahogany Mahogany Mahogany Radical Copper
Almond Carnation Mahogany Red Red Red Radical Copper
Almond Carnation Mahogany Red White Yellow White Copper
Almond Carnation Mahogany Red Yellow Yellow White Radical
Almond Carnation Radical Radical Radical Radical Radical Almond
Almond Copper Copper Copper Copper Copper Copper Copper Copper
Hmmmm. What do I think about this?
Let's try non-color words:
This time I tried words from the list of fireworks. Same pattern as above quilt-poem:
bengal fire bengal fire bengal fire bengal fire bengal fire bengal fire bengal fire bengal fire
bengal fire falling leaf falling leaf falling leaf falling leaf falling leaf falling leaf falling leaf fish
bengal fire falling leaf ground bloom flower ground bloom flower ground bloom flower ground bloom flower spider fish
bengal fire falling leaf ground bloom flower horsetail horsetail horsetail horsetail spider fish
bengal fire falling leaf ground bloom flower horsetail waterfall maroon spider fish
bengal fire falling leaf ground bloom flower horsetail maroon maroon spider fish
bengal fire falling leaf spider spider spider spider spider fish
bengal fire fish fish fish fish fish fish fish
Hmmm. I might need different word lists, with more meaningful connections between the words. Need to think more on it.
The text was updated successfully, but these errors were encountered: