<?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>100% LOADED &#187; Multi-touch</title>
	<atom:link href="http://www.100percentloaded.com/archives/category/multi-touch/feed" rel="self" type="application/rss+xml" />
	<link>http://www.100percentloaded.com</link>
	<description>Art. Design. Development.</description>
	<lastBuildDate>Thu, 08 Oct 2009 02:44:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The iPod Touch is out! But is it a true multi-touch device?</title>
		<link>http://www.100percentloaded.com/archives/51</link>
		<comments>http://www.100percentloaded.com/archives/51#comments</comments>
		<pubDate>Thu, 06 Sep 2007 20:28:48 +0000</pubDate>
		<dc:creator>Miguel</dc:creator>
				<category><![CDATA[Multi-touch]]></category>

		<guid isPermaLink="false">http://www.100percentloaded.com/?p=51</guid>
		<description><![CDATA[The iPod Touch finally dropped yesterday. Rejoice!! I will leave to others the comments on the price vs. the low memory, how the early iPhone adopters  may have gotten the short-end, etc. Instead, I want to speculate on how Apple might be pulling-off the multi-touch functionality.
Most &#8220;true&#8221; multi-touch system out there right now, such [...]]]></description>
			<content:encoded><![CDATA[<p>The iPod Touch finally dropped yesterday. <strong>Rejoice!!</strong> I will leave to others the comments on the price vs. the low memory, how the early iPhone adopters  may have gotten the short-end, etc. Instead, I want to speculate on how Apple might be pulling-off the multi-touch functionality.</p>
<p>Most &#8220;true&#8221; multi-touch system out there right now, such as <a href="http://www.microsoft.com/surface/">Microsoft Surface</a> or <a href="http://mtg.upf.edu/reactable/">Reactable</a>, use a projector and a vision system built around <a href="http://cs.nyu.edu/~jhan/ftirsense/">Frustrated Total Internal Reflection</a> (FTIR). This requires a big machine or setup to allow enough distance for the projector to display the image on the screen. The bigger the screen, the farther away the projector needs to be. Of course, you can offset this if your projector has really good optics and can focus-in closer, but most commercial products out there bottom out at around 2&#8242; or 3&#8242; feet.</p>
<p><strong>So how do the iPhone and iPod Touch do it?</strong></p>
<p>Certainly, these devices are way too thin to be doing any kind of optical trickery, so the answer (I think) must lie in a tried-and-true technology most of us have been using for years. I suspect it&#8217;s <a href="http://en.wikipedia.org/wiki/Touchscreen">resistive touch screen panels</a>. This is what is used on ATMs and interactive kiosks.</p>
<p>I&#8217;ve had a chance to play around with a couple of iPhones lately, and it struck me that all the gestures are either one (tap) or two fingers (pinch). This makes perfect sense, since you really can&#8217;t hold on to the device and perform a three-finger gesture. That would be like trying to hit <em>ctrl-alt-tab-shift-F12</em> on your keyboard using only one hand.</p>
<p><strong>You don&#8217;t need multi-touch.</strong> It should be more like <strong><em>bi-touch</em></strong> or <strong><em>duo-touch</em></strong>.</p>
<p><a href="http://www.apple.com/ipodtouch/features.html?feature=multitouch" title="iPod Touch"><img src="http://www.100percentloaded.com/wp-content/uploads/2007/09/ipodtouch_multitouch.jpg" title="iPod Touch" alt="iPod Touch" align="right" border="0" hspace="9" /></a>I&#8217;ve been racking my brain on this one for months, but the final clue came yesterday with <a href="http://www.apple.com/ipodtouch/features.html?feature=multitouch">this graphic</a> shown on the Apple website. As you can see, it shows two points being touched over two <em>&#8220;mystery&#8221;</em> layers on top of this cool grid that has two bumps on it corresponding to the touch points. <strong>Eureka!!!</strong></p>
<p>If all you need is two touch points at the most, you just throw-on two resistive &#8220;layers&#8221; over the LCD and you can use either hardware or software techniques to ignore the extra touch points. If the &#8220;top&#8221; layer senses one finger, the &#8220;bottom&#8221; layer agrees. If you put down a second finger, the &#8220;top&#8221; layer ignores it and the &#8220;bottom&#8221; layer can take over the tracking for it. Shear <strong>genius</strong>, Apple.</p>
<p>I&#8217;m not saying that, yes, this is how Apple is doing it&#8230; but at least, this is probably how <strong>I</strong> would have done it. It&#8217;s a tried-and-true technology, it&#8217;s inexpensive, and it&#8217;s really all you need to do hardware-wise to build such a great product around.</p>
<p>Yet another example of Apple&#8217;s incredible vision, innovation, and ability to use current technology and materials in very creative ways. I guess there&#8217;s no more need for a transitional product like the <a href="http://www.100percentloaded.com/?p=10">&#8220;WidePod&#8221;</a>.</p>
<p>This means the Zune is <em>done</em>, by the way.</p>
<p><em>iPod Touch and iPhone are trademarks of Apple Inc. Image is Copyright Â© 2007 Apple Inc. Zune is a trademark of Microsoft. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.100percentloaded.com/archives/51/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>So, I&#8217;m obssesed with multi-touch. But who isn&#8217;t?</title>
		<link>http://www.100percentloaded.com/archives/13</link>
		<comments>http://www.100percentloaded.com/archives/13#comments</comments>
		<pubDate>Tue, 07 Aug 2007 16:01:41 +0000</pubDate>
		<dc:creator>Miguel</dc:creator>
				<category><![CDATA[Adventures in Code]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Multi-touch]]></category>

		<guid isPermaLink="false">http://www.100percentloaded.com/?p=13</guid>
		<description><![CDATA[I&#8217;ve been thinking about multi-touch more and more these days. I believe the way we interact with computers and technology in general is about to change in a major way. I still remember the day when I saw a mouse for the first time. Being used to good-old MS-DOS, the idea that could simply point [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been thinking about multi-touch more and more these days. I believe the way we interact with computers and technology in general is about to change in a major way. I still remember the day when I saw a mouse for the first time. Being used to good-old <a href="http://en.wikipedia.org/wiki/MS-DOS" target="_blank">MS-DOS</a>, the idea that could simply point this little &#8220;arrow&#8221; at &#8220;icons&#8221; on the screen (<a href="http://en.wikipedia.org/wiki/Windows_2.0" target="_blank">Windows 2.0</a>, I think) and make the computer do something as opposed to typing-in a 4-page essay every time was a major epiphany. This was circa 1991, and coincidentally, this was the same day I saw an <a href="http://en.wikipedia.org/wiki/Apple_macintosh" target="_blank">Apple MacIntosh Classic</a>. That in itself was yet another revelation.</p>
<p>I&#8217;ve been looking around for information on how to build a setup to do my own multi-touch and interaction experimentation. I recommend you go over to see the <a href="http://mtg.upf.edu/reactable/" title="reactable" target="_blank">reactable project</a> that the <em>&#8220;Interactive Sonic Systems&#8221;</em> team is working on at the Universitat Pompeu  	Fabra in Barcelona Spain.</p>
<p>These examples gave the idea to start out with a simple interface experiment. <strong>What if you had a circular window that you can manipulate with two fingers?</strong> Moving the touch points around would in turn move the circle, and the size of it would depend on how close or far apart your fingers are. Inside the circle you would see that part of an image or video that is <em>&#8220;behind&#8221;</em> it. It would look something like this:</p>
<p style="text-align: center"><img src="http://www.100percentloaded.com/wp-content/uploads/2007/08/twopoint_hands.jpg" title="Two-point Transformable Circle (Not my hands, by the way)" alt="Two-point Transformable Circle (Not my hands, by the way)" border="0" /></p>
<p>Building a working multi-touch table will require some fancy fabrication and a chunk of money. so, in order to not get discouraged while that part of the plan comes to fruition I&#8217;ve decided to start with the fun part, which is the software. I can always adapt it later once the hardware is done.</p>
<p>When one takes-on a fancy visualization or interaction experiment like this, I recommend you begin by working out a solid mathematical model on paper before you dive into the code. Doing this will save you countless headaches and dead-ends during the coding and will prevent you from giving up too soon. Trust me, I&#8217;ve been there. And so, here&#8217;s what we have&#8230;</p>
<p><strong><em>Problem:</em></strong> The interface consists of a circular object that is positioned exactly between two control points. The distance between their centers determines its diameter, and moving them changes both the scale and position of the circle relative to the control points.</p>
<p>This lead me to work out the following mathematical model:</p>
<p style="text-align: center"><img src="http://www.100percentloaded.com/wp-content/uploads/2007/07/twopoint_formula.gif" alt="Two-point Model" /></p>
<p> It may look scary, but this is good old algebraic geometry from highschool. We know at all times the coordinates of both control points, so we&#8217;ll call them <strong>X1,Y1</strong> and <strong>X2,Y2</strong>. To determine the diameter of the circle we are going to draw between them we use the basic 2D <a href="http://en.wikipedia.org/wiki/Distance_formula" target="_blank">distance formula</a>,which we are calling <em><strong>d.</strong></em> And you guessed it, the exact <em>x,y</em> position of the circle is the mid-point between our two controls. I was originally going with some super-fancy trigonometric voo-do, but then I dusted-off the old math book and found this little nugget. The midpoint between two known points is merely the average of their coordinates. That formula is described by <strong>C</strong>. Having a solid model like this will take care of negative values in the coordinate system by itself. They will cancel each other out. This will save you mad &#8220;if&#8221; statements.</p>
<p>And <a href="http://100percentloaded.com/multitouch/twopoint_circle.php">here is the first prototype</a> done using Flash Actionscript:</p>
<p><a href="http://100percentloaded.com/multitouch/twopoint_circle.php"><img src="http://www.100percentloaded.com/wp-content/uploads/2007/08/thumb_twopoint.gif" alt="Two-point Transformable Circle Prototype" border="0" /></a></p>
<p>Taking it to the next level, <a href="http://100percentloaded.com/multitouch/twopoint_mask.php">this example is closer</a> to what we are trying to do:</p>
<p><a href="http://100percentloaded.com/multitouch/twopoint_mask.php" title="Two-point Transformable Circular Mask"><img src="http://www.100percentloaded.com/wp-content/uploads/2007/08/thumb_twopoint_mask.gif" alt="Two-point Transformable Circular Mask" border="0" /></a></p>
<p>And finally, for those of you who happen to have a <strong>webcam</strong>, <a href="http://100percentloaded.com/multitouch/twopoint_webcam.php">try this one</a>!</p>
<p><a href="http://100percentloaded.com/multitouch/twopoint_webcam.php" title="Two-point Transformable Mask - Webcam"><img src="http://www.100percentloaded.com/wp-content/uploads/2007/08/thumb_twopoint_webcam.gif" title="Two-point Transformable Mask - Webcam" alt="Two-point Transformable Mask - Webcam" border="0" /></a></p>
<p>If you have any examples, links, or anything else, feel free to drop a comment or two.</p>
<p><em>Special thanks to <a href="http://www.epnightlife.com/" title="EP Nightlife" target="_blank">Gabriel &#8220;George Castanza&#8221; Ruiz</a>. Hope this launches his Hand-modeling career.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.100percentloaded.com/archives/13/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
