NaPoGenMo sword-fighting poetry
NaPoGenMo sword-fighting poetry
ok! #NaPoGenMo project is (sort of) finished. The output is pretty repetitive and not very polished, but it's (imo) a neat proof-of-concept for an idea that could be expanded on in more complex projects.
In a nutshell: it's code that generates poems about sword-fighting duels where the current Chicago weather influences the events of the poem (hotter temp means angrier mood, cooler means calmer, and wind direction controls who's winning).
Here's an excerpt: I breathe deeply, contemplative, you dodge my blade, my breathing becomes ragged, furious, you slash at me, I summon all my strength for an attack, furious, you slash at me, my blood boils, irate, you lunge, you glare at me, vicious, I dodge your blade, my breathing becomes ragged, incensed, you dodge my blade, you glare at me, irate, I parry your thrust,
As you can see, there's not a lot of variety/sophistication in the word choice, line structure, etc. But with some more time and experimentation, I think the underlying idea could be used to make some pretty neat things!
Code: https://github.com/emmajuettner/weather-battles Output: https://emmajuettner.com/weather-battles/
NaPoGenMo sword-fighting poetry, hopefully with proper line breaks this time
NaPoGenMo sword-fighting poetry, hopefully with proper line breaks this time
arggghhh ok I think I know why my line break formatting is not working... testing testing hope this works:
I breathe deeply, contemplative, you dodge my blade,
my breathing becomes ragged, furious, you slash at me,
I summon all my strength for an attack, furious, you slash at me,
my blood boils, irate, you lunge,
you glare at me, vicious, I dodge your blade,
my breathing becomes ragged, incensed, you dodge my blade,
you glare at me, irate, I parry your thrust,
Working on a little generative poetry project (non-ML) for #NaPoGenMo and generated the below poem as an early test run to make sure my basic setup is working. It's very far from what I'm planning on for the finished outcome, but I thought it was kind of a charming poem in its own way. :)
Clouds Clouds Clouds Clouds Clouds Clouds Clouds Rain