NaNoGenMo / 2017

National Novel Generation Month, 2017 edition.
https://nanogenmo.github.io
185 stars 7 forks source link

Emic Automata #123

Open maetl opened 6 years ago

maetl commented 6 years ago

This is a book generated using elementary cellular automata with two randomly selected units of text mapped to the binary states of each cell.

The starting automaton is seeded with a randomly selected list of states. This seed is used to generate a wall of text—a study of repetition and contrast which combines the universal pattern generated by the automaton with the particular visual density of the selected units of text.

The number of cells in each generation and the number of generations are dependent on the length of the selected units. For this to work, the selected units must be the exact same length and the output text must be set in a monospace font.

Code

Output

Example

image

greg-kennedy commented 6 years ago

So, Conway's "Game of Life" with words?

nossidge commented 6 years ago

More like Wolfram's 256 binary rules.

maetl commented 6 years ago

Yes, it’s based on the elementary (1D) automata studied extensively by Wolfram and others.

Game of Life is generally represented in 2D grid space with edge cells in either 4 or 8 directions. I haven’t figured out how to translate this 2D space to a text representation (yet!), but the 1D automata structure has a fairly intuitive mapping to the linear ordering of words in prose/book conventions.

maetl commented 6 years ago

One possible application of Game of Life (and other related automata) might be to treat the frames/generations as evolving a story in discrete steps, ie: chapters, passages, events. Although we’re really in the realm of concrete poetry/ascii art here, so not sure how far we can get with narrative structure, but it’s an interesting idea.

maetl commented 6 years ago

I’ve now published this — code is at maetl/emic-automata and some example PDFs are included above. It’s pretty weird.

maetl commented 6 years ago

Update: