For my RWET final I created a program that uses a users twitter account feed in conjunction with a photo to create a unique poem based on that user. The above two poems were extracted from @barackobama and @christymack.
The code can be found here
Python and computer generated poetry/fiction
For my RWET final I created a program that uses a users twitter account feed in conjunction with a photo to create a unique poem based on that user. The above two poems were extracted from @barackobama and @christymack.
The code can be found here
Using the Python programming language I created a script that creates poetry based on images and a source text. When ran the program detects pixel brightness values of the image and assigns a popular word from the source text to that pixel brightness, the result is fun, new poetic form that bases word frequency and spacing on the assigned image.
To demonstrate this script I used the X-files. I took the entire script and used it as my source text, I pulled the most popular words from ALL episodes of the x-files and mapped them to different photos from the television show. The code for this project can be found here: https://github.com/aj701/Rwet-Midterm
In the python code below I easily output a users timeline using twython.
computer virus crashed one thousand five – makes me sick
CRASH OVERRIDE.. It’s all gone.
Who said Unbelievable. A hacker!?
They said Unbelievable. A hacker!
Who said Dade starts hacking. Apparently so does Acid Burn. The?
They said Dade starts hacking. Apparently so does Acid Burn. The
Who said all involving lips and kissing.?
We said all involving lips and kissing.
Who said is hacking, the latino kid who was on the phone to?
They said is hacking, the latino kid who was on the phone to
Who said looking up Kate Libby’s school records. And hacking?
They said looking up Kate Libby’s school records. And hacking
Who said it changes to 4:17. Dade is hacking again. It’s the?
They said it changes to 4:17. Dade is hacking again. It’s the
Who said giving a dull account of his hacking adventures. Enter?
They said giving a dull account of his hacking adventures. Enter
Who said hack a bank across state lines from your?
They said hack a bank across state lines from your
Who said passwords??
We said passwords?
Who said righteous hack. None of this accidental shit.?
They said righteous hack. None of this accidental shit.
#1
Another virus appears. – makes me sick
Run anti-virus. Give me a systems display! – makes me sick
Who said English hacker looks and talks suspiciously like Annie?
They said English hacker looks and talks suspiciously like Annie
FSI viruses. – makes me sick
Who said through the crowded station looking for the hackers.?
They said through the crowded station looking for the hackers.
Who said The SS and SWAT are still closing in on the hackers.?
They said The SS and SWAT are still closing in on the hackers.
Joey. I need you to drop your viruses, go – makes me sick
Who said together and taped up. No hackers. They keep going.?
They said together and taped up. No hackers. They keep going.
The Da Vinci virus dies. The tankers stop capsizing and – makes me sick
Who said The hackers cheer and congratulate each other.?
They said The hackers cheer and congratulate each other.
Who said The SS have caught up with the hackers. Agent Bob seems to?
They said The SS have caught up with the hackers. Agent Bob seems to
Who said be choosing which pore on which hacker’s face to blow away?
They said be choosing which pore on which hacker’s face to blow away
#2
Nay. Something far more tacky. A virus called – makes me sick
Who said blamed on innocent hackers. But this virus was?
They said blamed on innocent hackers. But this virus was
blamed on innocent hackers. But this virus was – makes me sick
uncool virus program? – makes me sick
Who said million bucks. The password for this hungry?
We said million bucks. The password for this hungry
Who said The hackers embrace and congratulate each other again,?
They said The hackers embrace and congratulate each other again,
Who said They kiss passionately.?
We said They kiss passionately.
Who said Dade and Kate emerge from their underwater kiss,?
We said Dade and Kate emerge from their underwater kiss,