
The site is undergoing active development, and this documentation in particular is incomplete. More coming soon. Make sure to also join the new GML mailing list
Hit us up on IRC: irc://irc.freenode.net/#fatlab
Or contact us via email: mailto:info@000000book.com
This docs site is a wiki and you can register an account to edit (logins not yet linked with #000000book)
Graffiti Markup Language is an XML-based format for representing the motion data of a graffiti writer (or other gestures)
GML is currently used to capture and replay the data used in applications like Graffiti Analysis, LASER Tag and the EyeWriter
A GML document is composed of any number of 'drawings', which have 'strokes' composed of (x, y, time) tuples.
The authoritative GML format spec is located at http://fffff.at/gml. See also: Minimum GML Requirements
000000book.com (blackbook) is meant as an open repository for GML data, and any application can upload & download GML from the site freely.
Downloading GML:
http://000000book.com/data/154.gml
Other handy API access points
curl http://000000book.com/latest.gml
curl http://000000book.com/random.gml
curl http://000000book.com/tempt1/latest.gml
curl http://000000book.com/latest.gml?application=eyewriter
Sending your application's GML data to blackbook is simple, and authenticating or registering your app is optional
Send an HTTP POST request to http://000000book.com/data with a data payload containing:
* GML (text)* [the complete GML data, required; this will be validated for required GML fields, e.g. at least one x/y point; maximum functional size is approx. 1MB]
Optional Fields
The following fields can be specified either in the GML *or* via HTTP POST to #000000book, which will write them into the GML for you.
The “uniqueKey” payload can also be provided in order to uniquely identify the uploading device, e.g. an iPhone. User's can later pair their 000000book account with a specified uniqueKey (see “Device Pairing” below).
If you are on Mac OS or Linux you can crack open a terminal and get started uploading GML just using `curl`:
curl -A curlwriter -d application=curlwriter&gml="<gml><pt><x>1</x><y>1</y><t>1</t></pt></gml>" http://000000book.com/data