<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SethSandler &#187; TouchGesture</title>
	<atom:link href="http://sethsandler.com/tag/touchgesture/feed/" rel="self" type="application/rss+xml" />
	<link>http://sethsandler.com</link>
	<description>Just another abstract, thought, art, code, and multitouch weblog</description>
	<lastBuildDate>Sat, 17 Jul 2010 01:30:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Introducing AS3 Multitouch Gesture Demo Application/Utility</title>
		<link>http://sethsandler.com/technology-multitouch/introducing-as3-multitouch-gesture-demo-applicationutility/</link>
		<comments>http://sethsandler.com/technology-multitouch/introducing-as3-multitouch-gesture-demo-applicationutility/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 19:26:19 +0000</pubDate>
		<dc:creator>SethSandler</dc:creator>
				<category><![CDATA[Headline]]></category>
		<category><![CDATA[Multitouch and NUI]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[gesture]]></category>
		<category><![CDATA[multitouch]]></category>
		<category><![CDATA[TouchGesture]]></category>

		<guid isPermaLink="false">http://sethsandler.com/?p=656</guid>
		<description><![CDATA[
			
				
			
		
On my last project I had to use a gesture to initiate an event. Due to this, I recently started experimenting in creating a simple multitouch version of some gesture engines that are available. I&#8217;ve come across three that are already available in AS3 and chose to start with the $1 gesture algorithm http://depts.washington.edu/aimgroup/proj/dollar/. It only seems fitting to start with this one since Andy Wilson of microsoft research (and many multitouch devices) had a hand in it&#8217;s development.
Like most algorithms, this one matches points drawn with a template that&#8217;s ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fintroducing-as3-multitouch-gesture-demo-applicationutility%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fintroducing-as3-multitouch-gesture-demo-applicationutility%2F&amp;style=normal" height="61" width="50" title="Introducing AS3 Multitouch Gesture Demo Application/Utility" alt=" Introducing AS3 Multitouch Gesture Demo Application/Utility" /><br />
			</a>
		</div>
<p><a rel="attachment wp-att-657" href="http://sethsandler.com/technology-multitouch/introducing-as3-multitouch-gesture-demo-applicationutility/attachment/gesturedemo/"><img class="alignleft size-medium wp-image-657" title="gestureDemo" src="http://sethsandler.com/wp-content/uploads/2009/10/gestureDemo-300x221.jpg" alt="gestureDemo 300x221 Introducing AS3 Multitouch Gesture Demo Application/Utility" width="300" height="221" /></a>On my last project I had to use a gesture to initiate an event. Due to this, I recently started experimenting in creating a simple multitouch version of some gesture engines that are available. I&#8217;ve come across three that are already available in AS3 and chose to start with the $1 gesture algorithm <a href="http://depts.washington.edu/aimgroup/proj/dollar/" target="_blank">http://depts.washington.edu/aimgroup/proj/dollar/</a>. It only seems fitting to start with this one since Andy Wilson of microsoft research (and many multitouch devices) had a hand in it&#8217;s development.</p>
<p>Like most algorithms, this one matches points drawn with a template that&#8217;s already stored. After the gesture is finished, it is matched up against templates in the database and given a percentage of how much it matched it&#8217;s closest template (from 0-1). One of the coolest things about this engine is that it&#8217;s orientation-less. This means, no matter how you&#8217;re orientated on the surface it&#8217;ll still recognize the gesture.</p>
<p>The main thing I contributed to the already created $1 gesture port was the ability to have multiple simultaneous gestures occurring at once. This means a single user can perform more than one gesture at a time or multiple users can perform their own gestures while someone else is using the device. However, there are flaws with this algorithm that I&#8217;m not fond of  that are performance (speed) related. I&#8217;ve only tested with up to 4 touches though so if someone can test with more, please let me know how it runs.</p>
<p style="float: right; padding: 10px"><script type="text/javascript"><!--
google_ad_client = "pub-9343590855255860";
/* in posts - 300x250, created 12/1/09 */
google_ad_slot = "1775795679";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Currently, the demo isn&#8217;t fully segregated form the core gesture classes and therefore there&#8217;s still some work to be done so that the gesture classes can be used without the demo itself. In the meantime, go ahead and test this out and make sure to give some feedback; it also works with the mouse. The demo allows you to draw a gesture and if it matches on in the database, that gesture will &#8216;light up.&#8217;</p>
<p>The tolerance is set at 80% and therefore if a gesture doesn&#8217;t match 80% of a template, it&#8217;s not recognized. Both the source and swf file are included. To test the demo, just load up the TouchGestureDemo.swf in flashplayer or a web browser.</p>
<p>Stay tuned for more on this as i&#8217;ll show the basics for using this in your own projects in case you need help.</p>
<p>Thanks to Tito (<a href="http://" target="_blank">Mathieu Vibrel</a>) and the pyMT crew for pointing me in the right direction.</p>
<p><div class="wpfilebase-attachment">
 <div class="wpfilebase-fileicon"><a href="http://sethsandler.com/download/gesture.zip" onclick="wpfilebase_dlclick(1, 'download/gesture.zip')" title="Download Gesture Demo"><img align="middle" src="http://sethsandler.com/wp-includes/images/crystal/archive.png" title="Introducing AS3 Multitouch Gesture Demo Application/Utility" alt="archive Introducing AS3 Multitouch Gesture Demo Application/Utility" /></a></div>
 <div class="wpfilebase-rightcol">
  <div class="wpfilebase-filetitle">
   <a href="http://sethsandler.com/download/gesture.zip" onclick="wpfilebase_dlclick(1, 'download/gesture.zip')" title="Download Gesture Demo">Gesture Demo</a>
   gesture.zip
   Version: 1.0
   
  </div>
  <div class="wpfilebase-filedetails" id="wpfilebase-filedetails2" style="display: none;">
  Multitouch Gesture Engine Demo
  <table border="0" width="220">
   
   <tr><th>Author:</th><td>Seth Sandler</td></tr>
   
   
   
   
   <tr><th>Date:</th><td>October 13, 2009</td></tr>
   <tr><th>MD5 Hash:</th><td><small>f59b34d4779b6959bfd2a62d0dcf00df</small></td></tr>
  </table>
  </div>
 </div>
 <div class="wpfilebase-fileinfo">
  102.8 KiB
  4950 Downloads
  <a href="#" onclick="return wpfilebase_filedetails(2);">Details...</a>
 </div>
 <div style="clear: both;"></div>
</div>
<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fintroducing-as3-multitouch-gesture-demo-applicationutility%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fintroducing-as3-multitouch-gesture-demo-applicationutility%2F&amp;style=normal" height="61" width="50" title="Introducing AS3 Multitouch Gesture Demo Application/Utility" alt=" Introducing AS3 Multitouch Gesture Demo Application/Utility" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://sethsandler.com/technology-multitouch/introducing-as3-multitouch-gesture-demo-applicationutility/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
