문제

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