HTML5 Word Cloud
Word Cloud on HTML5 canvas, inspired by Wordle.
Author: Timothy Chien <email@example.com>
HTML5 Word Cloud is inspired by Wrodle, instead of generate the image on a Java Applet, this experiment is entirely on HTML5 canvas.
Under the hood
This program is composed of three libraries, two of them have dependency of jQuery thus they are warped as jQuery plug-ins:
wordfreq.jswhich count the phrases/words by running N-gram analysis (for Chinese) and Porter Stemming Algorithm (for English) in Web Workers.
jquery.wordcloud.jsdraw the phrases/words on canvas using configured parameters.
Each of the libraries comes with their own tests/demos and are designed to be reusable.
Following external libraries are included:
- Simulated Web Workers (
worker.js) to provide a simulated web workers interface in IEs and Mobile Safari.
- Yuren Ju for Facebook Status fetching
I can be reached by e-mail.