jQuery charToTable plugin
2007-07-12
I was playing with jQuery and tables yesterday, and got a weird idea: what about converting characters to tables using jQuery?
The idea evolved and I started to write a new jQuery plugin, charToTable.
I really don't know if someone will find it useful, but it actually works fine.
It uses some PHP + GD to convert a character to an image, and then to a JSON object containing the glyph matrix.
Finally, jQuery.getJSON loads it, and the callback function simply creates the table.
Demos:
Download:
Ideas to improve it:
- antialiased characters
- imageToTable
- animated charToTable
Any feedback welcome!