This plugin adds a new format to the `wp_tag_cloud` function, allowing for image based -- Wordle-like -- tag clouds.
Add the following text to a page to add the image-based tag-cloud. This cloud will have tags that have different shades of gray depending on their occurance.
[imagecloud fgcolor="CCCCCC" fgcolor2="000000" bgcolor="FFFFFF"]
The current version has no specific option-page to do so. Clouds are regenerated when:
Regrettably, the Wordle algorithms are not made public. Therefore I had to create one myself. The algorithm used is pretty straightforward. Images are rotated based by chance based on the percentup variable. All images are then positioned one by one around the center of the cloud. There is some randomness in the positioning as I've learned that this will actually improve the layout of the cloud.
This algorithm is very simple and improvements can definitly be made! Any suggestion is welcome...