The high notes:
- If you’re passing your own words, you can pre-set their color, font, size, angle, and placement:
word.setColor(#f02939).setAngle(QUARTER_PI);These settings will override the WordColorer, WordAngler, etc. This should make it easier to control how specific words are drawn, but you can even use it for styling all your words.
- If you’re not seeing as many words as you expected, you can call
getSkippedWords()to see which words were skipped, and call
wasSkippedBecause()on each one to see why it was skipped. If you’re troubleshooting the words that do show up, you can call
getRenderedColor(), etc, on each word. And if you want to do some interaction,
getWordAt(x,y)will tell you which word is at the given [x,y] coordinates.
- All the settings for fine-tuning a WordCram are now at your fingers. If your WordCram is too slow, too crowded, or too sparse, you can probably fix it: you can limit how many words WordCram will try to render, limit the size of the smallest word it’ll accept, and limit how many times it’ll try to place a word.
- A bunch of new tutorial sketches will walk you through WordCram in (I hope) a sensible order. They cover all the features, both new and old.
See the Release notes, the tutorial sketches, and the javadoc for the details. If you have any questions or feedback, or just want to show off your word clouds, I’m @wordcram on twitter, and wordcram-at-gmail.