FYI: In the signature vector display list, the number 0 means "pen up" in this case. The other numbers all are connected by lines between the capture points. In the sample data above, the first group of numbers forms the large circle for the face. The second two groups are each a circle for the eyes. The third group is the smile. The fourth and fifth groups are fill-ins for the pupils of the eyes. The last group of numbers is the exit button touch and release -- you probably want to delete that group from your saved vector signature and artwork. The script ends with two zeros telling the program to stop drawing and go do other stuff.
The raw touchscreen data has values of 0-4095 for width and 0-4095 for height. Typical vector graphics that I plan to use can be represented with 0-255 values for width and height, so I rescale them so they can both pack into a 16-bit number (y*256+x).
You can look at the code in the "goodbye" function in the newtrix demo, to see how to use this data.
You can of course change the output to be more script friendly by removing the commas, if you prefer using this in variations on my "algorithmic art" scripts instead of my C demos.
Again, I hope you enjoy this and learn something new from it.
Comments are not only welcome -- they are required!