• Stars
    star
    108
  • Rank 319,425 (Top 7 %)
  • Language
    Python
  • License
    Creative Commons ...
  • Created almost 10 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Seraphs: Procedurally generated Voynich Manuscript, produced for NaNoGenMo 2014

Seraphs: NaNoGenMo2014

Generate a 50,000+ word "book" based on the Voynich Manuscript. On the design and goals for the project.

Book version

A hand-curated book version is available as seraphs.pdf, or a fully laid out book is available for purchase at cost from Blurb.

Page

About the project

Uses the following resources:

  • The Flickr API and Internet Archive Commons account to grab 18th century images based on specific themes like "biology" and "alchemy."
  • Processes the resulting illustrations to match background colors and discard undesirable images.
  • Uses a randomized corpus of the original Voynich Manuscript (from the EVA transcription) remapped to a public domain Voynich-like font.
  • Generates a set of themed "folios" based on the themes from the original manuscript.
  • Converts the output using CSS3 paged media to print-ready PDF (requires a local installation of Prince XML).

The source code in this repository is in the public domain. Note that a mix of commercial and closed-source software is necessary to generate the final output.

Installation

Set up a virtual environment:

virtualenv ve

Ensure that you have various image libraries installed (for OS X users, brew install libjpeg and brew install libpng).

Install the dependencies:

. ve/bin/activate
python setup.py develop

Get a Flickr API key and add it to a directory called secret:

mkdir secret
cat "FLICKR_KEY = 'YOUR-KEY-HERE'" > secret/__init__.py
cat "FLICKR_SECRET = 'YOUR-SECRET-HERE'" >> secret/__init__.py

Install PrinceXML (http://princexml.com/) locally.

Run the program:

python seraphs/generate.py

The program should go off and acquire a lot of images from Flickr, randomize them, and generate a PDF somewhere in the 400-page range.

Once it runs, it will cache the resulting images (as local pickle files) in seraphs/cache and pull a random set from those. Delete that directory to re-acquire the assets from Flickr.

The output will be seraphs/build/book.pdf. It will be very large (more than 1 gigabyte).

Example output

Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page Page

More Repositories

1

there-are-stars

A self-generating story that gets longer the more stars it gets
Jinja
362
star
2

windrift

A JS framework for writing mutable stories
TypeScript
228
star
3

brobot

Python
96
star
4

a-physical-book

For National Novel Generation Month 2017
JavaScript
72
star
5

blackout

NaNoGenMo 2016 entry #2
Python
40
star
6

surrealisme

Generate a 20s-style surrealist book
Python
39
star
7

vanderbot

Python code to generate color study graphs
Python
34
star
8

utopia-novels

A small collection of 19th century utopian fiction
HTML
29
star
9

a-letter-groove

Cut away words from digital books and render the resulting images
JavaScript
18
star
10

guesso

Training a convolutional neural network to guess the age of fine art paintings and prints
Jupyter Notebook
15
star
11

harmonia

An interactive story
JavaScript
14
star
12

nanogenmo2015

Entries for NaNoGenMo2015
Python
12
star
13

windrift-starter

A starter codebase for a Windrift game
JavaScript
11
star
14

soamazingquote

A Twitter bot that misattributes quotes.
Python
11
star
15

first-draft-of-the-revolution

An interactive fiction work authored by Emily Short and coded by Liza Daly and Inkle Studios
JavaScript
10
star
16

stone-harbor-game

Source code for the interactive story, Stone Harbor
JavaScript
7
star
17

trapped-in-the-q

NaNoGenMo 2016 entry #1
Python
6
star
18

botilius_syrus

A Twitter bot that tweets out the aphorisms of Publilius Syrus (fl. 85–43 BCE), and annotates them with emoji
Python
5
star
19

page-scan-corrector

Utility for using opencv to detect and reformat page scans, as for OCR
Python
4
star
20

save-as-web

JavaScript
3
star
21

windrift-playground

Worked examples for Windrift
TypeScript
3
star
22

i_luv_recipes

Twitter bot that chooses a random recipe and then makes random substitutions to it, like every recipe commenter ever.
Python
3
star
23

browser

Following along with https://browser.engineering/
Python
2
star
24

napogenmo2017

Entry for National Poem Generation Month 2017
Python
2
star
25

projects

Miscellaneous public projects
JavaScript
2
star
26

worldsgreatestbill

A twitter bot that makes legislature even greater
Python
2
star
27

nanogengenmo2022

A program to write a program to write a novel
Python
1
star
28

a-pickler

A translator and generator to produce text in the form of A Pickle for the Knowing Ones (1802)
Python
1
star