101 reputation
bio website
location Stockholm, Sweden
age 27
visits member for 10 months
seen May 13 at 8:49
stats profile views 3

I am the very model of a modern major general.


Jul
5
comment How to create word clouds?
@Heike same as you describe. This chopps incorrectly on windows/8.0.1 => longword = Style["somelongwordforsomereason", FontFamily -> "Times", FontColor -> Hue[RandomReal[], RandomReal[{.5, 1}], RandomReal[{.5, 1}]], FontSize -> 100]; ImagePad[#, -3 - BorderDimensions[#]] & /@ (Image[ Graphics[Text[Framed[#, FrameMargins -> 2]]]] & /@ {longword}) but the small change I propose chops correctly. Note that I put up 100px fontsize, because I wanted a larger graph. :)
Jul
3
comment How to create word clouds?
It is better to replace wordsimg with wordsimg = ImageCrop /@ Rasterize /@ words; It produces less errors.