Draw UFO data on a JavaScript canvas
Status: active development
Current plan-de-campagne and a small peek into what may come. I have absolutely no fixed plan, and I'll just see where this goes and/or ends up.
- write a more convenient tool to parse the .glif-xml into a json-object.
- create a UFOglif object, and pass the glyph-data and a reference to the UFO object as parameters
- create a canvas and draw the contours of the glyph
- describe a possible API
- convert into a package sort of thing.
- create some sort of user-interface as a demo
var ufo = new UFO();
ufo.setSrc(url, callback);
var glyph = ufo.loadGlyph(name);
glyph.setContainer("#glyph-0020");