The new tag cloud…
PHP generates PNG images and scans for the transparent spaces to construct a simplified bitmap of the font’s opaque shapes. This information is then dumped into javascript where the actual placement happens. The tags are added one at a time from largest to smallest by a cursor that spirals outward from the center of the cloud. The tags’ masks are intermittently compared to the composite used space mask from the previously placed tags until an empty space is found. Google’s Chrome beta finishes 100 placements in less than a second however Firefox and IE lag behind finishing in three to five seconds.
Image and position caching will probably be used in the final system. The javascript is too resource intensive and the automated placement is a bit too unreliable for a production environment. Authenticated users will have to manually adjust the tag cloud content for a more consistent result… but for the moment it’s still a toy while we work through our lists of deliverables.
3 Comments › Leave yours
1 Trackbacks
- Designers vs Developers at EMU Marketing | Upside Down City - [...] the developers know how to do. In my case there is nothing it seems our developers cannot do. See ...
Leave a Reply
Contact Us
Search this Site
Archives
- October 2009 (1)
- September 2009 (2)
- August 2009 (2)
- June 2009 (1)
- May 2009 (1)
- March 2009 (2)
- February 2009 (3)
- January 2009 (5)
- December 2008 (1)
- November 2008 (2)
- October 2008 (3)
- September 2008 (4)
- August 2008 (4)










Great choice for your first post Paul!
waw it’s beutiful.. can I publish this article in my blog.. with indonesian language…
Yes, of course, just link back here please