Quantcast
Channel: jfhovinne - php
Viewing all articles
Browse latest Browse all 3

jQuery charToTable plugin

$
0
0

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!


Viewing all articles
Browse latest Browse all 3

Trending Articles