<?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; actionscript</title>
	<atom:link href="http://sethsandler.com/tag/actionscript/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>
		<item>
		<title>Super Cool Multitouch Actionscript Fluid Solver</title>
		<link>http://sethsandler.com/technology-multitouch/super-cool-multitouch-actionscript-fluid-solver/</link>
		<comments>http://sethsandler.com/technology-multitouch/super-cool-multitouch-actionscript-fluid-solver/#comments</comments>
		<pubDate>Thu, 14 May 2009 18:31:57 +0000</pubDate>
		<dc:creator>SethSandler</dc:creator>
				<category><![CDATA[Art and design]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Multitouch and NUI]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[fluid solver]]></category>
		<category><![CDATA[multitoutch]]></category>

		<guid isPermaLink="false">http://sethsandler.com/?p=299</guid>
		<description><![CDATA[
			
				
			
		




Eugene has just ported Memo’s fluid solver work to AS3 http://blog.inspirit.ru/?p=248.  With the source now out, I was able to quickly add multitouch support and it works great! Thanks to cyandesign and simpleex for keeping me on my toes.
A couple notes, the touchlib AS3 classes had to be corrected since they currently don&#8217;t send dX and dY values which the fluid solver needs to calculate directional velocity. Other than that, things went fairly smoothly and took little time to make touch sensitive.
 
Click the above image to play
Download:

 
 ...]]></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%2Fsuper-cool-multitouch-actionscript-fluid-solver%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fsuper-cool-multitouch-actionscript-fluid-solver%2F&amp;style=normal" height="61" width="50" title="Super Cool Multitouch Actionscript Fluid Solver" alt=" Super Cool Multitouch Actionscript Fluid Solver" /><br />
			</a>
		</div>
<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>Eugene has just ported <a href="http://nuigroup.com/forums/viewthread/5074/">Memo’s fluid solver</a> work to AS3 <a href="http://blog.inspirit.ru/?p=248">http://blog.inspirit.ru/?p=248</a>.  With the source now out, I was able to quickly add multitouch support and it works great! Thanks to <a href="http://www.cyancdesign.com/" target="_blank">cyandesign </a>and <a href="http://www.simpleexcite.net/" target="_blank">simpleex </a>for keeping me on my toes.</p>
<p>A couple notes, the touchlib AS3 classes had to be corrected since they currently don&#8217;t send dX and dY values which the fluid solver needs to calculate directional velocity. Other than that, things went fairly smoothly and took little time to make touch sensitive.<br />
<a rel="shadowbox height=640;width=800" href="http://sethsandler.com/wp-content/uploads/2009/05/fluidsolver.swf"> <img class="aligncenter" title="fluidsolver" src="http://nuigroup.com/?ACT=28&amp;fid=33&amp;aid=3355_T7aA8BW1RuxJu8IpMXs1" alt=" Super Cool Multitouch Actionscript Fluid Solver" width="512" /></a></p>
<p style="text-align: center;">Click the above image to play</p>
<p><strong>Download:</strong></p>
<p><a href="http://nuigroup.com/?ACT=28&amp;fid=33&amp;aid=3354_BJKDL3TYSftbAXEyjUeT"></a><div class="wpfilebase-attachment">
 <div class="wpfilebase-fileicon"><a href="http://sethsandler.com/download/FluidSolver.zip" onclick="wpfilebase_dlclick(5, 'download/FluidSolver.zip')" title="Download Multitouch Fluid Solver"><img align="middle" src="http://sethsandler.com/wp-includes/images/crystal/archive.png" title="Super Cool Multitouch Actionscript Fluid Solver" alt="archive Super Cool Multitouch Actionscript Fluid Solver" /></a></div>
 <div class="wpfilebase-rightcol">
  <div class="wpfilebase-filetitle">
   <a href="http://sethsandler.com/download/FluidSolver.zip" onclick="wpfilebase_dlclick(5, 'download/FluidSolver.zip')" title="Download Multitouch Fluid Solver">Multitouch Fluid Solver</a>
   FluidSolver.zip
   Version: 1
   
  </div>
  <div class="wpfilebase-filedetails" id="wpfilebase-filedetails4" style="display: none;">
  Multitouch Fluid Solver
  <table border="0" width="220">
   
   <tr><th>Author:</th><td>Seth Sandler, Mehmet Atken, Eugene </td></tr>
   
   
   
   
   <tr><th>Date:</th><td>November 18, 2009</td></tr>
   <tr><th>MD5 Hash:</th><td><small>1c6974ecb841b09e6fdfbbe3539ca52e</small></td></tr>
  </table>
  </div>
 </div>
 <div class="wpfilebase-fileinfo">
  260.9 KiB
  3274 Downloads
  <a href="#" onclick="return wpfilebase_filedetails(4);">Details...</a>
 </div>
 <div style="clear: both;"></div>
</div><br />
Both source code and application are included. The swf is inside the bin folder.</p>
<p>If you try this out, leave a comment here and let me know how things go. Video responses are welcome also!
<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%2Fsuper-cool-multitouch-actionscript-fluid-solver%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fsuper-cool-multitouch-actionscript-fluid-solver%2F&amp;style=normal" height="61" width="50" title="Super Cool Multitouch Actionscript Fluid Solver" alt=" Super Cool Multitouch Actionscript Fluid Solver" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://sethsandler.com/technology-multitouch/super-cool-multitouch-actionscript-fluid-solver/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
