The fruits of my National Novel Generation Month (NaNoGenMo) labors are now online; the Megawatt generator is available as a single 350-line Python file, while the novel it deterministically generates can be obtained as a PDF, megawatt.pdf or in epub format, megawatt.epub. From the program’s docstring and from the preface to the book:
Megawatt is the title of both a computer program, the source code
to which you may be reading, and the output of this program, which in
many ways like a standard novel and which you may instead be reading.
This note appears at the beginning of both.
This is a preview of
. Read the full post.