WordCram is a Processing library for generating word clouds. Like this one, made from the text on http://wordcram.org:
It loads text files and web addresses, parses HTML. It does basic text analysis, counting up the words. You choose each word’s font, color, size, and rotation.
Start with the WordCram class — that should explain how things fit together. From there, you might want to look at the Anglers, Sizers, Placers, Colorers, and the oddly-named Fonters to see what options are provided out-of-the-box. If those don’t meet your needs, you can create your own WordAngler, WordSizer, WordPlacer, WordColorer, or WordFonter.
Read the wiki, report an issue, download the bytes, or git clone the source at the github; see what’s new at the blog, or [email protected]
WordCram was built for Processing, and inspired by Wordle.