Question

I'm searching for a code that will help be build a tag cloud like in this example. You can see that the words can even be embedded inside the spaces in the letters. The tag cloud should be based on weight, so words with higher weight will apear larger.

I want to create the exact same effect as in the link I've provided. I don't mind basing my plugin on an already existent plugin that does the same. Thanks in advance.

Was it helpful?

Solution

The code for that page is on GitHub:

Skimming the code it looks like it draws the text onto the canvas then reads back pixels from the canvas to find empty spaces to fill with more words.

OTHER TIPS

Here is a very good one that I just used fo my project jQCloud

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top