The site is undergoing active development, and this documentation is incomplete. Pleaes email us if you have questions or run into problems. You can also join the new GML mailing list
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 motion data from graffiti applications like Graffiti Analysis, LASER Tag and the EyeWriter that have been developed by the Graffiti Research Lab/FAT Lab and openFrameworks teams.
An incomplete list of other applications using GML: http://000000book.com/apps
A GML document is composed of any number of 'drawings', which have 'strokes' composed of (x, y, time) tuples.
000000book.com (blackbook) is meant as an open repository for GML data, and any application can upload & download GML from the site freely.
Other handy API access points
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]
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