Algorithm to implement a word cloud like Wordle
I’m the creator of Wordle. Here’s how Wordle actually works: Count the words, throw away boring words, and sort by the count, descending. Keep the top N words for some N. Assign each word a font size proportional to its count. Generate a Java2D Shape for each word, using the Java2D API. Each word “wants” … Read more