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

Roman Numerals story #74

Open
kumo opened this issue Nov 1, 2015 · 12 comments
Open

Roman Numerals story #74

kumo opened this issue Nov 1, 2015 · 12 comments

Comments

@kumo
Copy link

kumo commented Nov 1, 2015

Project: https://github.com/kumo/NaNoGenMo-2015
Novel: https://github.com/kumo/NaNoGenMo-2015/blob/master/RomanBook.txt and https://github.com/kumo/NaNoGenMo-2015/blob/master/RomanBook80.txt (hard wrapped)
PDF: https://github.com/kumo/NaNoGenMo-2015/blob/master/RomanBook.pdf
Code: https://github.com/kumo/NaNoGenMo-2015/blob/master/RomanBook.swift

I wanted to do a choose your own adventure game, but that will wait until next time. Here is book containing Roman Numerals from 1 to 50,000 instead. The numbers are printed in order, but they are hopefully shaped into normal looking sentences and speech.

@kumo
Copy link
Author

kumo commented Nov 13, 2015

Ok, so this month is too busy for a choose your own adventure style book unfortunately, so I'm going to write a story using Roman Numerals, something like: "I, II III IV, V VI VII, VIII IX X."

@MichaelPaulukonis
Copy link

It often comes down to pruning our plans.

@kumo
Copy link
Author

kumo commented Nov 17, 2015

Ok. I am going to be sketching out my idea in Swift, so code can be found in this gist

@kumo
Copy link
Author

kumo commented Nov 19, 2015

I have sketched out some Swift code that makes different types of sentences and combines them in paragraphs. This is an example of one chapter:
screenshot 2015-11-19 20 03 07

Text can be found here: https://gist.github.com/kumo/8578cff5b7a37a5ecef9

@hugovk
Copy link
Collaborator

hugovk commented Nov 19, 2015

I like that it's putting punctuation and paragraphs and things in.

I did something with Roman numerals mixed with Finnish numbers last year, but just spat them out without formatting.

Another way to make nonsense output look meaningful is to take some existing input text -- pluck one out of Project Gutenberg -- and keep all the formatting and punctuation and so on, but replace all the words with your own input. (Here's an example with meows.)

@kumo
Copy link
Author

kumo commented Nov 20, 2015

The paragraph formatting seems to work properly, but I will probably try and sort out the correct lower/upper casing.

That Finnish one looks interesting and the meow one too. Was the formatting done by hand?

Perhaps next year I will make a redact generator with Roman Numerals

@kumo kumo changed the title I'll have a go Roman Numerals story Nov 20, 2015
@kumo
Copy link
Author

kumo commented Nov 20, 2015

I am playing around with the lower/upper casing and it appears to work properly, but now I have to decide if the PDF version uses smallcaps or not.

Lower case version:

screenshot 2015-11-20 18 24 10

Smallcaps version:

screenshot 2015-11-20 18 14 45

I'll probably keep the lowercase version though since it has a more irregular appearance.

@zachwhalen
Copy link

I really like this.

@hugovk
Copy link
Collaborator

hugovk commented Nov 21, 2015

That Finnish one looks interesting and the meow one too. Was the formatting done by hand?

The Finnish one just has justified alignment.

The meow retains the formatting and punctuation of the input text, because each meow is the same length as in input word. So "shop" -> "meow", "house" -> "meoow", "the" -> "mew" etc.

@kumo
Copy link
Author

kumo commented Nov 22, 2015

Just for fun, the Rick Astley version:

screenshot 2015-11-22 20 47 05

@kumo
Copy link
Author

kumo commented Nov 25, 2015

And finally, the Italian version:

screenshot 2015-11-25 17 28 59

@kumo
Copy link
Author

kumo commented Dec 1, 2015

Rick's Book could be fine, but the Italian one requires different formatting for the quotations, so I will leave it at that.

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

No branches or pull requests

4 participants