UStream Not Live

cyancdesign: blog

Multi-touch Flash Experiments

I've been working with the Touchlib library of multi-touch apps using Actionscript 3.0 to develop some of my own apps.  This driving force behind what I've been doing is to get a general idea of how to start thinking about the code, and try to discern what works well and what does not. I began with making a simple interface to select an app to be dynamically loaded into the main flash movie. The buttons and information is built dynamically and after an app is selected a trigger is placed in the bottom right corner the user will need to hold down to being back the menu. I've used that menu to build a small collections of apps i have been experimenting with:

  1. Rings, which works by extending RotatableScalable
  2. Grey Lines, which uses TouchEvent.MOUSE_DOWN and TouchEvent.MOUSE_UP to read any blobs which appear on the stage
  3. Squeegee, build an array of circles, then uses any blob information to rescale those circles based on their proximity to the blob, then uses the circles to mask an image which is revealed after you begin touching the screen
  4. Cats Cradle, loops through all the blobs on the screen and draws a line in order of how the array of blobs is constructed. Good for studying how blobs are added an removed from the array
  5. Physics, Flash Physics + Multi-touch -- a continued from the previous post

At the end of the video, I just wanted to give my thanks to NUIGroup, everyone there help me tremendously with getting my multi-touch hardware up and running. I hope to offer value by doing these experiments and letting the community use them as needed.


Multi-touch Flash Experiments from Chris Yanc on Vimeo.

Here are some thoughts I normally have when coming up with experiments like this. How can this be different than just something you can do with just  a mouse? It's one thing to get one touch point working and build an application around that. But how does it change when you can pretend there are 2 mouse cursors you can work with? Then 3? Then 4? What is the best way to optimize the code for these applications? How can I take this and build something useful for a business? Is a gaming environment the best option for thinking of commercialization opportunities?

I feel this technology has opened some interesting windows of opportunity.

And once again, I'd like to offer all my source code for the video above to anyone who'd like to dissect it.

Multi-touch Flash Experiments - Feb 22,2009

Tags: , , , , ,

Leave a Reply