GML Webring: intro / recent projects / GML spec / data (#000000book)
(Spec last updated Dec. 30, 2009): Laser Tag 2.0 MyUserName http://000000book.com/data/156/ /* where this tag was uploaded, optional */ katsu,paris,fondationcartier /* comma-separated */ 28sks922ks992 /* iPhone model etc. */ 192.168.1.1 1928372722 /* unixtime */ -39.392922 53.29292 /* This is all stuff that relates to the orientation and dimensions of the client*/ /* So if we know how to re-map the 0.0-1.0 coordinates that come in for each point */ /* Also for figuring out the down vector for devices with accelerometers and how that effects drips */ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 -1.0 0.0 /* use this as your multipler to get 0.0 to 1.0 back to right size - pts should never go off 0.0 to 1.0 */ 1024 768 0 0 0 0 /* how these units relate to real world units - good for laser tag */ 1000 600 0 cm /* for all stroke and movement stuff it helps to have everything inside the stroke tag */ /* this way it is easy to get a sense of order to events */ /* for non drawing mouse movements */ 0.0 0.0 0.0 /* this is optional */ 0.013 /* time is optional too */ /* by default stroke drawing is true */ /* each stroke could be drawn with a different brush */ /* if no brush tag is found for a stroke then it inherits the previous settings */ 0 /* same as uniqueStyleID but an internal reference */ LaserTagArrowLetters /* unique blackbook string for your style */ /* see note about spec at the bottom - like unique style but with extra info */ http://aurltodescribethebrushspec.com/someSpec.xml 10 1.5 /* put 0 for fixed width */ 1.0 1.0 0 /*Think photoshop layers*/ 255 255 255 255 /* optional */ /* what angle do are drips go in relation to our up vector */ 0 1 0 0.0 0.0 0.0 /* this is optional */ 0.013 /* time is optional too */ 0.0 0.0 0.0 /* this is optional */ 0.013 /* time is optional too */ 0.0 0.0 0.0 /* this is optional */ 0.013 /* time is optional too */ /* this stroke inherits the previous stroke properties */ /* but changes color and draws on the layer below */ /* optional info - more stuff soon*/ true 255 255 0 /* this means one layer bellow the previous layer */ -1 0.0 0.0 0.0 0.0 /* Spec note */ /* Note we need a way to know the style a tag was drawn in */ /* For apps we make this is quite easy as we know hoow the brush 0 of LT looks */ /* But for apps that we don't control maybe there is a way to describe the brush style?*/ /* Like a spec file that says color1 = fill color2 = stroke */ /* this might be too complicated but it is worth thinking about */