UStream Not Live

Posts Tagged ‘source’

Simple AIR GML Recorder

September 16th, 2010

Version 1.0.1

This isn't as much a tutorial, as it is some source code to mess around with. Less about a week to go before Ingenuity Fest. Starting to feel the crunch a bit now.

I wanted the Digital Graffiti Wall to be able to record GML. So I needed to build a quick GML recorder I could integrate into it.

And here is the result, a very simple GML recorder built in Adobe AIR, which I did because I can export out XML files directly from it to the desktop.

How to use:

  1. Download and Install the AIR Application
    • If you need to install the AIR Framework, get it here
  2. Run The GML_Recorder Application
  3. Press "Start Recording GML"
  4. Draw Your GML Tag
  5. Press "Stop Recording GML"
  6. Press "Yes" to save the GML data to the desktop in an XML file
  7. or Press "No" to reset the screen
  8. Repeat as needed
  9. (^_^)//

I have tested a few tags before posting this post at http://000000book.com to make sure the tags are written well. You can even see a recorded tag in action here: http://toki-woki.net/p/Okr/#/play/21231

And for everyone who wants to look under the hood. Here is the source:

Download GML Recorder Source

I'm open for feedback or if anyone finds anything wrong, please email me: cyanc@cyancdesign.com.

Playing with GML and Flash ~ version 1

January 19th, 2010

So there are some videos out there that drew my attention to GML

What is GML? It is Graffiti Markup Language. "an open repository for sharing and archiving motion captured graffiti tags." Artists are archiving graffiti, amazing. That is a constantly growing collection of beautiful fluid animations.

So I took a quick look into it. XML, awesome. Standardized, brilliant! Importable into Flash? INDEED.

But taking a quick look at the applications, not too much Flash there.Vanderplayer and Experimental 3D renderer. Nice, but nothing basic. I thought I would give it a shot, at least a version 1 to start off with.

gmldisplay

This SWF just grabs a random GML file and draws it out. When it is done, it grabs another. But if it gets stuck somewhere, you can just click on it and it'll start a new GML file.

gmldisplay
THEREMIN VERSION!!!!

The theremin one adds sound to the graffiti. Similar to a Theremin, the up and down controls  volume, while left and right controls pitch. I found the original code for the theremin part here: http://blog.efnx.com/browser-theremin-wave-data-visualization/

Thank you efnx for the jumpstart to get this idea out of my head.

Download GML Writer

Download GML Theremin