In yet another example of computers churning out art, Paul Thompson has built a C++ script that produces snowballs — poems where every line is a single word, with each successive word one letter longer than its predecessor. "I thought that someone must have created a program to generate these, and I was surprised that I couldn’t find one even after some pretty thorough Googling," Thompson writes on his blog. That led the part-time programmer to develop his own solution. Thompson's code scans through a massive text file of numerous combined works from Project Gutenberg. All character names are ignored as the poem is crafted, as are any foreign phrases included in the source material. His formula also relies on Markov chains to build...
via The Verge - All Posts http://www.theverge.com/2013/4/28/4279470/tapping-project-gutenberg-create-cpu-generated-snowball-poetry
No comments:
Post a Comment