I’d been reading the King James Version of the Bible (and I still am—it’s a long book) and I became curious about when and where and how often certain words occur. Did you know that “unicorn” occurs nine times?
Numbers 23:22: God brought them out of Egypt; he hath as it were the strength of an unicorn.
So what I wanted to do was cull each book, chapter, and verse that contained either “fire” or “flame”, highlight those words, and print the result. I also wanted to show both how code can be used in creative aims and that code itself can be interesting and fun, or at least moreso than many of the gallery-goers that I’ve met tend to think of it.
I underestimated the length of the result. Even after removing the line breaks and shrinking the type to 10pt it filled six 11“ x 17” sheets. I rolled the pages and stuffed them in the largest matchbox I could find. I also wrapped the box in part of a page. I also printed and added the source code.
It wasn’t very pretty. It looks much better on screen.
And the ruby script is useful. You can feed it any words you want. You can also add deuterocanonical terms that are colored only if they occur in the verses that contain the primary terms. And the result is HTML, so you can style it with CSS and view it in a browser, print a PDF, post it to your tumblr, or whatever.