Skip to content
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

Paradissssse Lossssst ("serpent-ify") #145

Open
cmontemo opened this issue Dec 1, 2019 · 0 comments
Open

Paradissssse Lossssst ("serpent-ify") #145

cmontemo opened this issue Dec 1, 2019 · 0 comments

Comments

@cmontemo
Copy link

cmontemo commented Dec 1, 2019

This novel, Paradissssse Lossssst, is generated using Python (which I find appropriate given the theme) in order to "serpent-ify" an inputted text. Using the Plain Text file of Milton's Paradise Lost from Project Gutenberg, this code replaces every lowercase "s" with at least 3 to at most 9 "s's" (creating random degrees of snakiness with each generation) and replaces every uppercase "S" with "Sssss." With this program applied to my selected text, I reflect upon what it would be like for the Serpent to tell Milton's tale. It gives a very distinct sense of narration and impacts the tone and mood of the piece. I'm finding it fairly entertaining to read the output aloud.

In the future, I'd like to apply additional "s's" that would coincide with different ssstressssssssesssss on words. I think that this method of transforming a text could be entertaining if applied to other works.

My work on this NaNoGenMo novel is part of my Creative Coding course taught by Zach Whalen at the University of Mary Washington. This is my first NaNoGenMo submission, and I hope to participate with more complicated works in the future!

My code: paradissssse_lossssst.py
Input text file: paradise.txt
Sample output: paradissssse_novel.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants