My new Twitter and Tumblr projects are getting going.
They sort of relate to each other thematically, although am not sharing any code in their respective bases.
The first is scoundrel steals fruit, apologizes insincerely. a place to put visualizations of parodies found of famous poems.
Parodies are harvested periodically from the internet by bots. Actually they are quite plentiful so I have a queue.
Bots are written in Node.JS and PhantomJS.
When the bot finds a site with a parody it looks around for more parodies, if a single page has a bunch of parodies it takes all the parodies of the single type of poem it is looking for that it can find - this process can of course be error prone.
A single page can be split up to parodies in the main content of the page, and parodies in the comments section.
Some sites have specific bots written for them, since those sites are structurally very similar all over, and have a lot of parodies.
When parodies are extracted they are sent through a processing sketch to generate a word cloud with a funny image of a robot. Some of these combinations can be quite interesting, but really the reason I do this is that the poems I am taking to be wordclouded are often quite insipid.
The famous poems I am parodying are currently This is Just to Say - by William Carlos Williams The Red Wheelbarrow - by William Carlos Williams The Road Not Taken - by Robert Frost
At first I was just doing This is just to Say, which I believe is the most parodied on the internet in English - although this has not been tested in any way.
I don't actually like the poem, so I found it somewhat amusing to be taking insipid parodies of a bad poem and running them through the least interesting form of visualization there is, the Wordcloud!
Then I added the Red Wheelbarrow, another Williams poem I hate with hardly any passion.
I then broke my pattern and took The Road not Taken, a poem that is quite good but that has worn out its welcome like a cross-generational earworm.
Here are some example wordclouds
You will note that all the pictures contain robots (lots of them have women also, a side-effect of choosing pulp sources.) I thought that robots would be appropriate given the bots do most of it.
The second project is just trying to understand twitter as a medium, The Poet Ninja is a one line joke. Every now and then I take a famous poem, run some code to generate an image from the text - it could be a wordcloud with ninjas as background, it could be a spiral of the words or different shapes generated by properties of the words, lots of different stuff, I then put that up on The Poet Ninja tumblr log
Here are some example generated images
Then after I upload the generated image I tweet some short parodies of the poems, in the persona of The Poet Ninja, who can't help but put a lot of blood and violence into his poems, as an example: