A while ago I tried to write some wordcloud code, but couldn't quite figure out how to do the layout. Does anyone know where one might find a good writeup of the algorithm that tends to be used for this?
[1] http://wordcram.org/
https://www.nickyreinert.de/wordcloud-in-powerpoint/
It does not cover white-space with words, as Wordle et al will do. Also it's in German. But I guess the code itself is quite clear.
A while ago I tried to write some wordcloud code, but couldn't quite figure out how to do the layout. Does anyone know where one might find a good writeup of the algorithm that tends to be used for this?