kumo
kumo copied to clipboard
Improve painfully slow place method in WordCloud
specifically the double for loop
I think it's worth looking at some other implementations of this. For example, WordCram has WordPlacer
s, which suggest a place to put a word - and if that place doesn't work, there are WordNudger
s, which nudge the word in some direction according to their individual strategy.
@Namnodorel Thanks. I will do. I really wish I just did this when I first started building this thing. I was just hacking it out for fun at first. :)