toxi.in.process

Wednesday, May 11, 2005

On-the-fly Sparklines with JavaScript and XBM

Inspired by Jesse Andrews' idea to generate Sparklines with JavaScript, I just spent the last 3 hours writing an alternative version to use bitmaps instead of SVG as platform for the visualization. Apart from the limitation of only working in B&W, the XBM image format is highly suitable for this purpose, as the bitmap data can be manipulated with JavaScript. (btw. Wolfenstein 5K must be the by far most impressive use of this format ;)