質問

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.

役に立ちましたか?

解決

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.

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top