I tried out a little converting and simplifying tonight.
Looking at PaintCanvas.as from Touchlib, I stepped through a simple line drawing app using nearly the same code, just without needing to use the blobs array.
Step 1: drawing only white lines using the TUIO info and not a blobs array
Step 2; Adding Random Colors
Step 3: Adding Random Colors to Touch Down Events
Step 4: Associating a specific random color for each Touch Point
Take a read, enjoy.
Test it out.
I’ve also added in a concern about how I use an array within the code and am looking for some feedback.
Thanks everyone.
http://www.cyancdesign.com/2009/04/paintcanvas-to-simpledraw/
and also in the wiki
