<?xml version="1.0" encoding="utf-8"?>	
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

    <channel>
    
    <title>NUI Group&amp;nbsp;&amp;nbsp;&amp;raquo;&amp;nbsp;&amp;nbsp;Wiki</title>
    <link>http://nuigroup.com/wiki/</link>
    <description>NUI Group&amp;nbsp;&amp;nbsp;&amp;raquo;&amp;nbsp;&amp;nbsp;Wiki</description>
    <dc:language>en</dc:language>
    <dc:creator>admin@nuigroup.com</dc:creator>
    <dc:rights>Copyright 2006</dc:rights>
    <dc:date>2008-08-20T11:50:28-05:00</dc:date>
    <admin:generatorAgent rdf:resource="http://www.pmachine.com/" />
    

    <item>
      <title>TUIO</title>
      <link>http://nuigroup.com/wiki/TUIO/</link>
      <guid>http://nuigroup.com/wiki/TUIO/</guid>
      <description><![CDATA[<p>TUIO is a simple yet versatile protocol designed specifically to meet the requirements of table-top tangible user interfaces. This protocol defines common properties of controller objects on the table surface as well as of finger gestures performed by the user. Initially the protocol has been implemented within reacTIVision, the computer vision engine developed for the reacTable project. It also has been adopted by several other projects related to tangible and multi-touch interaction, such as the touchlib and the NUI group community. The TUIO protocol is based on <a href="http://nuigroup.com/wiki/OpenSound_Control/"  title="OpenSound_Control">OpenSound Control</a> and is therefore usable on any platform supporting this protocol. There are many example clients available for programming languages such as C/C++, C#, Java, Objective C, Python, Smalltalk, Actionscript and multimedia environments such as Pure Data, Max/MSP, Quartz Composer, SuperCollider and Flash.
</p>
<p>
TUIO was designed by Martin Kaltenbrunner, Ross Bencina, Enrico Costanza and Till Bovermann during a short-term scientific mission supported by the COST287-ConGAS project.
</p>
<p>
TUIO protocol 1.0 specification: <a href="http://reactable.iua.upf.edu/?tuio">http://reactable.iua.upf.edu/?tuio</a>
<br />
official TUIO example clients (part of reacTIVision) <a href="http://reactable.iua.upf.edu/?software">http://reactable.iua.upf.edu/?software</a>
</p>
<h3>TUIO sources:</h3><p>
<a href="http://reactivision.sourceforge.net/">http://reactivision.sourceforge.net/</a> reacTIVision:
<br />
the reacTable computer vision framework with a complete TUIO implementation
<br />
<a href="http://www.nuigroup.com/touchlib/">http://www.nuigroup.com/touchlib/</a> Touchlib:
<br />
an application framework for multi-touch surfaces based on FTIR and DI</li>
<br />
<a href="http://code.google.com/p/wiimotetuio/">http://code.google.com/p/wiimotetuio/</a> WiimoteTUIO:
<br />
an application that sends the locations of all IR sources found</li>
<br />
<a href="http://lux.vu/blog/oscemote/">http://lux.vu/blog/oscemote/</a> OSCemote:
<br />
an iPhone remote control that includes a TUIO multi-touch controller
<br />
            
</p>
<p>
For more info on programming languages and environments that have TUIO support, read <a href="http://nuigroup.com/wiki/Writing_TUIO_Apps/" class="noArticle" title="Writing_TUIO_Apps">Writing TUIO Apps</a>
</p>
<p>
<a href="http://nuigroup.com/wiki/Category:Software/" title="Category:Software">Category:Software</a>
</p>]]></description>
      <dc:subject>TUIO</dc:subject>
      <dc:date>2008-08-20T11:50:28-05:00</dc:date>
    </item>

    <item>
      <title>community cams</title>
      <link>http://nuigroup.com/wiki/community_cams/</link>
      <guid>http://nuigroup.com/wiki/community_cams/</guid>
      <description><![CDATA[<p>Fill in the camera you are using. This to give an overview of the different cameras the people use inside this community. Please edit in alphabetical order by manufacturer and then model.
</p>
<p>
*DanKn - Creme de la Crap, no name brand. Frame rate:640 x 480 30 f/s;1280 x 960 10 -15 f/s USB 2.0
<br />
*jason - Logitech Quickcam Chat (budget), IR filter removed, 7 fps @352x188 on Linux, USB 1.1
<br />
*alan - Logitech Quickcam Communicate STX, removed IR Filter, 30fps @ 640x480.
<br />
*BBatchelder - Microsoft VX-6000, IR filter removed, 30fps @640x480, USB 2.0.
<br />
*Bilsky - Phillips SPC900-NC
<br />
*Chrizz - Phillips SPC900-NC (mounted a Philips PCVC740K lens, removed ir-filter)
<br />
*Davman - Phillips SPC900-NC
<br />
*paulzain - Point Grey Dragonfly2 + Computar 1.8mm lens
<br />
*Pleh - Phillips SPC900-NC
<br />
*Sidje - Samsung VP-D101 FW with build-in but bad IR filter - Creative webcam 3 USB1.1
<br />
*Recklessness - Sunplus CA533A 320x240 @ 30FPS, no IR, experimenting with ambient diffuse light.
<br />
*Gravano - Sweex WC001 (budget) Phillips SPC900-NC (for improved performance)
<br />
*jibberia - Point Grey Firefly MV
<br />
*thomas.hansen - Point Grey Firefly MV
<br />
*juwaidah1990 - Logitech QuickCam Messenger, IR filter removed, Linux compatible.
<br />
*BlaXwan - Unibrain Fire-i board camera, firewire, you can order it with lens without ir-filter (4.3 and 1.9 mm fish-eye lens), 640x480@30fps
<br />
*Matthew180 - Sony MiniDV DCR-HC40, firewire, 720 x 480 @ 60f/s.&nbsp; Has a &#8220;Night Shot&#8221; mode which internally removes the IR filter so it is perfect for capturing the IR blobs.&nbsp; I had this camera already so I used it, but probably overkill and certainly an expensive way to go.
<br />
*Blue - Intel YC76 with negatives as IR filter
<br />
*Robin - Trust Spacecam 360 with black and white photo negative as IR filter. Runs at 30fps 640x480.
<br />
*zviangi - Unibrain Fire-i B/W camera with 2.10mm wide angle lens, no IR coating
<br />
*skeeet - microsoft VX-3000 640x480@30fps, Xbox360 cam 320x240@60fps, both with negative film as filter
</p>]]></description>
      <dc:subject>community cams</dc:subject>
      <dc:date>2008-08-07T01:50:49-05:00</dc:date>
    </item>

    <item>
      <title>Quartz Composer with BBTouch</title>
      <link>http://nuigroup.com/wiki/Quartz_Composer_with_BBTouch/</link>
      <guid>http://nuigroup.com/wiki/Quartz_Composer_with_BBTouch/</guid>
      <description><![CDATA[<p>This article will show you how to get a simple single touch cursor functionality in Quartz Composer using BBTouch. This only works on Leopard.
</p>
<p>
<b>1) Get and install Quartz Composer and Xcode</b>
</p>
<p>
At the moment I assume you already have quartz composer, it’s included with the developer DVD and available as a free download from apple. Check <a href="http://nuigroup.com/wiki/quartz_composer/">here</a> for more info.
</p>
<p>
<b>2) Get and install TUIO plugin</b>
<br />
Download the Tuio_Quartz package from the <a href="http://reactable.iua.upf.edu/?software#files">reacTIVision</a> software page:
</p>
<p>
Unpack the archive and copy TuioClient.plugin to /Library/Graphics/Quartz Composer Plug-Ins
</p>
<p>
If you have already put a patch called TuioClient.plugin and put it in /Library/Graphics/Patches, delete it.
</p>
<p>
<b>3) Get and install BBTouch from the googlecode project.</b>
</p>
<p>
Download the latest version in the googlecode list, or compile it yourself from source. If you download the source, don’t worry about anything except BBTouch.
</p>
<p>
<b>4) Load and go!</b>
</p>
<p>
Open BBtouch, configure it so that you are getting nice consistent blobs in the right window. If you are using a MTMini then make sure the box called “Find Dark Blob’s is checked.
</p>
<p>
<img src="http://nuigroup.com/wiki/1b147d22c545ea22935a47f91d9ce207/" alt="BBTouchScreenshot.png" width="687" height="607" />
</p>
<p>
Open Quartz Composer and make a new blank composition.
</p>
<p>
From your patch creator, first put in a TuioClient. Then drop in a Structure Index Member. Connect the “cursors” of the TuioClient to “structure” of the Structure Index Member.
</p>
<p>
Find a Structure Key Member and drop 2 of those in your comp, one for the x-position and one for the y-position.
</p>
<p>
In one of the Structure Key Member patches, for the Input Paramaters type in xpos.
</p>
<p>
In the other Structure Key Member patch, for the Input Paramaters type in ypos.
</p>
<p>
Connect “member” from the Structure Index Member to “structure” of each Structure Key Member.
</p>
<p>
Now load a renderer, the teapot seems to be popular put a picture attached to a billboard works great too. Let’s just go with teapot. Drop the teapot patch in.
</p>
<p>
Change the teapot scale to .25. Attach the “member” from your xpos Structure Key Member patch to the “X Position” of the teapot. Do the same thing for your ypos, this time attaching to the “Y Position” of the teapot.
</p>
<p>
Assuming you have everything working, that should be it! The teapot will follow your blob, although it might need to be calibrated.
</p>
<p>
<img src="http://nuigroup.com/wiki/b61bcf93fdcff785a68df62c9dd04893/" width="600" height="275"/>
</p>]]></description>
      <dc:subject>Quartz Composer with BBTouch</dc:subject>
      <dc:date>2008-08-05T13:30:38-05:00</dc:date>
    </item>

    <item>
      <title>Writing TUIO apps</title>
      <link>http://nuigroup.com/wiki/Writing_TUIO_apps/</link>
      <guid>http://nuigroup.com/wiki/Writing_TUIO_apps/</guid>
      <description><![CDATA[<p>There are a number of programming languages and multimedia environments that support the <a href="http://nuigroup.com/wiki/TUIO/"  title="TUIO">TUIO</a>
<br />
This is a list of example clients and libraries that can be used for developing multitouch applications:
</p>
<p>
Programming Languages:
<br />
C/C++ <a href="http://mtg.upf.edu/reactable/?software#files">reacTIVision framework</a>
<br />
Java  <a href="http://mtg.upf.edu/reactable/?software#files">reacTIVision framework</a>
<br />
C#  <a href="http://mtg.upf.edu/reactable/?software#files">reacTIVision framework</a>
<br />
Objective C
<br />
<a href="http://code.google.com/p/pytuio/">Python</a>
<br />
<a href="http://mcs.open.ac.uk/sh2/squeakmusic.html">Squeak</a> (SmallTalk)
<br />
ActionScript (see the AS3 directory in the touchlib source)
</p>
<p>
Multimedia Environments:
<br />
Pure Data <a href="http://mtg.upf.edu/reactable/?software#files">reacTIVision framework</a>
<br />
Max/MSP <a href="http://mtg.upf.edu/reactable/?software#files">reacTIVision framework</a>
<br />
Quartz Composer <a href="http://mtg.upf.edu/reactable/?software#files">reacTIVision framework</a>
<br />
VVVV
<br />
<a href="http://www.techfak.uni-bielefeld.de/~tboverma/sc/">SuperCollider</a>
<br />
Flash <a href="http://mtg.upf.edu/reactable/?software#files">reacTIVision framework</a>
</p>]]></description>
      <dc:subject>Writing TUIO apps</dc:subject>
      <dc:date>2008-08-05T13:26:29-05:00</dc:date>
    </item>

    <item>
      <title>quartz composer</title>
      <link>http://nuigroup.com/wiki/quartz_composer/</link>
      <guid>http://nuigroup.com/wiki/quartz_composer/</guid>
      <description><![CDATA[<p>Quartz Composer is included with the Apple Developer tools disk, also from their website.
</p>]]></description>
      <dc:subject>quartz composer</dc:subject>
      <dc:date>2008-07-30T01:58:38-05:00</dc:date>
    </item>

    <item>
      <title>OpenSound Control</title>
      <link>http://nuigroup.com/wiki/OpenSound_Control/</link>
      <guid>http://nuigroup.com/wiki/OpenSound_Control/</guid>
      <description><![CDATA[<p>OSC or OpenSound Control is a protocol for the communication between controllers and sound synthesizers, but has been also adopted for other applications or multimedia devices.&nbsp; OSC was primarily designed as a replacement for <a href="http://nuigroup.com/wiki/MIDI/" class="noArticle" title="MIDI">MIDI</a> in order to overcome the bandwidh and speed limitations of this standard protocol for digital musical instruments.
<br />
Although OSC is not directly bound to any particular transport method, most implementations are based on the UDP network protocol, using standard internet/network ethernet connections. Therefore it can be run it on a single machine (using the localhost), between two networked machines, or over the internet in general.
</p>
<p>
The <a href="http://nuigroup.com/wiki/TUIO/"  title="TUIO">TUIO</a> protocol, which was specially designed for transmitting the state of tangible objects and multi-touch control on a table surface is based on OpenSound Control, and is used by <a href="http://nuigroup.com/wiki/Touchlib/"  title="Touchlib">Touchlib</a> and <a href="http://nuigroup.com/wiki/reacTIVision/" class="noArticle" title="reacTIVision">reacTIVision</a> for the communication with the actual applications.
</p>
<p>
Be sure to check out <a href="http://nuigroup.com/wiki/Writing_TUIO_apps/"  title="Writing_TUIO_apps">Writing TUIO apps</a>
</p>
<p>
<a href="http://nuigroup.com/wiki/Category:Software/" title="Category:Software">Category:Software</a>
</p>]]></description>
      <dc:subject>OpenSound Control</dc:subject>
      <dc:date>2008-07-29T20:14:05-05:00</dc:date>
    </item>

    <item>
      <title>Building Your First Application</title>
      <link>http://nuigroup.com/wiki/Building_Your_First_Application/</link>
      <guid>http://nuigroup.com/wiki/Building_Your_First_Application/</guid>
      <description><![CDATA[<p>1: create a new Flash file &#40;actionScript3&#41; 
<br />
2: click on the canvas, the properties for the file should not be available. 
<br />
3:click on the size button. 
<br />
4: change that to 1024 x 768 and 30+ FPS 
<br />
5: click settings (below size button) 
<br />
6: Where it says actionScrtip version, make sure ActionScript is selected and click settings 
<br />
7: in classpath at the bottom, click on the + button and enter 
<br />
../ext 
<br />
do the same for 
<br />
../int 
<br />
8: save this flash file in (the touchlib folder) AS3/src (name it what you want) EG touch.fla 
<br />
9: in the AS3/int/app/demo folder, create a new folder called MyTouchApp (must be exact)
</p>
<p>
10: create a new ActionScript file. 
<br />
11: save it as MyTouchApp.as in AS3/int/app/demo/MyTouchApp (that folder you just made) 
<br />
12: go back to (click on the tab for) you flash file EG. touch.fla
</p>
<p>
13: In the Document Class text field enter app.demo.MyTouchApp.MyTouchApp
</p>
<p>
14: select the rectangle button and make a rectangle that is over, and larger than your canvas. This will be the area your program will run on. 
<br />
15: right click (control click on a mac) on the black rectangle you just made and select “Convert To Symbol” 
<br />
16: make sure movieclip is selected and press ok. 
<br />
17: Save file… go back to MyTouchApp.as 
<br />
18: copy code from examples and paste it in this file. MAKE SURE THE PAGE IS CLEARED FIRST 
<br />
19: save this file again, go back to (click on the tab for) you flash file EG. touch.fla
</p>
<p>
20: publish the file. It should work now
</p>
<p>
<img src="http://nuigroup.com/wiki/3fcd9155af4838c2f48b543c9d45b0eb/" width="250" style="float:left;">
<br />
Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test 
<br />
<br style="clear:left;" />
<br />
<img src="http://nuigroup.com/wiki/c858e5cd0c46aede5b4e00d55ba4b036/" width="250" style="float:left;">
<br />
Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test 
<br />
<br style="clear:left;" />
<br />
<img src="http://nuigroup.com/wiki/d40071146657b3c0371559a9a94f031d/" width="250" style="float:left;">
<br />
<img src="http://nuigroup.com/wiki/51233faf09ab251bc384bd90d4304aa6/" width="250" style="float:left;">
<br />
<img src="http://nuigroup.com/wiki/d74c9a6123efb72d69ca0ecf80fd1bd1/" width="250" style="float:left;">
<br />
<img src="http://nuigroup.com/wiki/7bfd76e401417a10a10cd42525f130e9/" width="250" style="float:left;">
<br />
<img src="http://nuigroup.com/wiki/a199b3f742784192556ddb7777a719fe/" width="250" style="float:left;">
<br />
<img src="http://nuigroup.com/wiki/97626a4cda5f83b065022eebc5a5ac99/" width="250" style="float:left;">
<br />
<img src="http://nuigroup.com/wiki/c3aa520d2ee3b568314d88eb9f0ff75a/" width="250" style="float:left;">
<br />
<img src="http://nuigroup.com/wiki/3936465039a19bd6423b1bd7c68dbe59/" style="float:left;">
<br />
<img src="http://nuigroup.com/wiki/e565e6921487e253951d91e9b29c00cc/" width="250" style="float:left;">
<br />
<img src="http://nuigroup.com/wiki/125da871e44308c27fc5690446dacf4b/" width="250" style="float:left;">
</p>
<p>
==Code Examples==
<br />
</p><div class="codeblock"><code>
<span style="color: #0000BB">package&nbsp;app</span><span style="color: #007700">.</span><span style="color: #0000BB">demo</span><span style="color: #007700">.</span><span style="color: #0000BB">MyTouchApp&#123;&nbsp;</span><span style="color: #FF8000">//adds&nbsp;a&nbsp;circle&nbsp;where&nbsp;you&nbsp;touch&nbsp;(no&nbsp;resize)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">import&nbsp;flash</span><span style="color: #007700">.</span><span style="color: #0000BB">display</span><span style="color: #007700">.*;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">import&nbsp;flash</span><span style="color: #007700">.</span><span style="color: #0000BB">events</span><span style="color: #007700">.*;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">import&nbsp;flash</span><span style="color: #007700">.</span><span style="color: #0000BB">net</span><span style="color: #007700">.*;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">import&nbsp;flash</span><span style="color: #007700">.</span><span style="color: #0000BB">geom</span><span style="color: #007700">.*;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">public&nbsp;</span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">MyTouchApp&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">Sprite&nbsp;&#123;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;</span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">MyTouchApp</span><span style="color: #007700">()&nbsp;</span><span style="color: #0000BB">&#123;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//--------connect&nbsp;to&nbsp;TUIO-----------------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">TUIO</span><span style="color: #007700">.</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #0000BB">this</span><span style="color: #007700">,</span><span style="color: #DD0000">'localhost'</span><span style="color: #007700">,</span><span style="color: #0000BB">3000</span><span style="color: #007700">,</span><span style="color: #DD0000">''</span><span style="color: #007700">,</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">trace</span><span style="color: #007700">(</span><span style="color: #DD0000">"MyTouchApp&nbsp;Initialized"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//----------------------------------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">addEventListener</span><span style="color: #007700">(</span><span style="color: #0000BB">TouchEvent</span><span style="color: #007700">.</span><span style="color: #0000BB">MOUSE_DOWN</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">touchDown</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//run&nbsp;touchdown,&nbsp;when&nbsp;touched<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;</span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">touchDown</span><span style="color: #007700">(</span><span style="color: #0000BB">e</span><span style="color: #007700">:</span><span style="color: #0000BB">TouchEvent</span><span style="color: #007700">):</span><span style="color: #0000BB">void&#123;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">var&nbsp;</span><span style="color: #0000BB">curPt</span><span style="color: #007700">:</span><span style="color: #0000BB">Point&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">parent</span><span style="color: #007700">.</span><span style="color: #0000BB">globalToLocal</span><span style="color: #007700">(new&nbsp;</span><span style="color: #0000BB">Point</span><span style="color: #007700">(</span><span style="color: #0000BB">e</span><span style="color: #007700">.</span><span style="color: #0000BB">stageX</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">e</span><span style="color: #007700">.</span><span style="color: #0000BB">stageY</span><span style="color: #007700">));&nbsp;</span><span style="color: #FF8000">//convert&nbsp;touch&nbsp;points&nbsp;to&nbsp;x,y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">var&nbsp;</span><span style="color: #0000BB">circle</span><span style="color: #007700">:</span><span style="color: #0000BB">Sprite&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">Sprite</span><span style="color: #007700">();&nbsp;</span><span style="color: #FF8000">//create&nbsp;a&nbsp;new&nbsp;sprite<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">circle</span><span style="color: #007700">.</span><span style="color: #0000BB">graphics</span><span style="color: #007700">.</span><span style="color: #0000BB">lineStyle</span><span style="color: #007700">(</span><span style="color: #0000BB">10</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0xff0000</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//set&nbsp;line&nbsp;width&nbsp;to&nbsp;10px&nbsp;and&nbsp;red<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">circle</span><span style="color: #007700">.</span><span style="color: #0000BB">graphics</span><span style="color: #007700">.</span><span style="color: #0000BB">drawCircle</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #0000BB">40</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;draw&nbsp;a&nbsp;40px&nbsp;circle<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">circle</span><span style="color: #007700">.</span><span style="color: #0000BB">x&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">curPt</span><span style="color: #007700">.</span><span style="color: #0000BB">x</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//put&nbsp;it&nbsp;where&nbsp;touch&nbsp;is&nbsp;(x&nbsp;cord)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">circle</span><span style="color: #007700">.</span><span style="color: #0000BB">y&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">curPt</span><span style="color: #007700">.</span><span style="color: #0000BB">y</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//put&nbsp;it&nbsp;where&nbsp;touch&nbsp;is&nbsp;(y&nbsp;cord)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">addChild</span><span style="color: #007700">(</span><span style="color: #0000BB">circle</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//add&nbsp;the&nbsp;circle&nbsp;where&nbsp;touch&nbsp;happened<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br />&#125;</span>
</code></div><p>
</p>
<p>
</p><div class="codeblock"><code>
<span style="color: #0000BB">package&nbsp;app</span><span style="color: #007700">.</span><span style="color: #0000BB">demo</span><span style="color: #007700">.</span><span style="color: #0000BB">MyTouchApp&#123;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;flash</span><span style="color: #007700">.</span><span style="color: #0000BB">display</span><span style="color: #007700">.*;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">import&nbsp;flash</span><span style="color: #007700">.</span><span style="color: #0000BB">events</span><span style="color: #007700">.*;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">import&nbsp;app</span><span style="color: #007700">.</span><span style="color: #0000BB">core</span><span style="color: #007700">.</span><span style="color: #0000BB">action</span><span style="color: #007700">.</span><span style="color: #0000BB">RotatableScalable</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">public&nbsp;</span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">MyTouchApp&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">RotatableScalable&nbsp;&#123;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;</span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">MyTouchApp</span><span style="color: #007700">()&nbsp;</span><span style="color: #0000BB">&#123;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//--------connect&nbsp;to&nbsp;TUIO-----------------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">TUIO</span><span style="color: #007700">.</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #0000BB">this</span><span style="color: #007700">,</span><span style="color: #DD0000">'localhost'</span><span style="color: #007700">,</span><span style="color: #0000BB">3000</span><span style="color: #007700">,</span><span style="color: #DD0000">''</span><span style="color: #007700">,</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">trace</span><span style="color: #007700">(</span><span style="color: #DD0000">"MyTouchApp&nbsp;Initialized"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//----------------------------------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">addEventListener</span><span style="color: #007700">(</span><span style="color: #0000BB">MouseEvent</span><span style="color: #007700">.</span><span style="color: #0000BB">MOUSE_DOWN</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">onMouseDown</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;adds&nbsp;an&nbsp;event&nbsp;listener&nbsp;looking&nbsp;for&nbsp;a&nbsp;mouse&nbsp;click&nbsp;-&nbsp;runs&nbsp;"onMouseDown"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">onMouseDown</span><span style="color: #007700">(</span><span style="color: #0000BB">event</span><span style="color: #007700">:</span><span style="color: #0000BB">MouseEvent</span><span style="color: #007700">):</span><span style="color: #0000BB">void&nbsp;&#123;&nbsp;</span><span style="color: #FF8000">//creats&nbsp;a&nbsp;circle&nbsp;when&nbsp;the&nbsp;mouse&nbsp;is&nbsp;clicked<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">var&nbsp;</span><span style="color: #0000BB">circle</span><span style="color: #007700">:</span><span style="color: #0000BB">Sprite&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">Sprite</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">circle</span><span style="color: #007700">.</span><span style="color: #0000BB">graphics</span><span style="color: #007700">.</span><span style="color: #0000BB">lineStyle</span><span style="color: #007700">(</span><span style="color: #0000BB">10</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0xff0000</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//set&nbsp;line&nbsp;width&nbsp;to&nbsp;10px&nbsp;and&nbsp;red<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">circle</span><span style="color: #007700">.</span><span style="color: #0000BB">graphics</span><span style="color: #007700">.</span><span style="color: #0000BB">drawCircle</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #0000BB">40</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;draw&nbsp;a&nbsp;40px&nbsp;circle<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">circle</span><span style="color: #007700">.</span><span style="color: #0000BB">x&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mouseX</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//put&nbsp;it&nbsp;where&nbsp;the&nbsp;mouse&nbsp;clicked<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">circle</span><span style="color: #007700">.</span><span style="color: #0000BB">y&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mouseY</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">addChild</span><span style="color: #007700">(</span><span style="color: #0000BB">circle</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//add&nbsp;the&nbsp;circle&nbsp;to&nbsp;the&nbsp;plane<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br />&#125;</span>
</code></div><p>
</p>]]></description>
      <dc:subject>Building Your First Application</dc:subject>
      <dc:date>2008-07-27T19:49:45-05:00</dc:date>
    </item>

    <item>
      <title>index</title>
      <link>http://nuigroup.com/wiki/index/</link>
      <guid>http://nuigroup.com/wiki/index/</guid>
      <description><![CDATA[<div style="xborder:2px #CBCBCB solid; background: #DADADA url('http://nuigroup.com/wiki/25a0eeed6e77216a05409087fb63beda/'); padding:0px">
<p>
<img src="http://nuigroup.com/wiki/fc4cb6dd0b95ca3e04834c40dc455552/"/>
<br />
<img src="http://blank.com/image.jpg" width="300" height="300"/> 
<br />
</p></div>

<p>
<a href="http://en.wikipedia.org/wiki/Natural_User_Interface">Natural User Interface</a> or ~ NUI Group is an interactive media group researching and creating open source machine sensing techniques to benefit artistic and educational applications. <a href="http://nuigroup.com/log/about">Read more...</a> 
</p>
<p>
This wiki contains information about the <a href="http://nuigroup.com/wiki/Category:Software/">software</a> &amp; <a href="http://nuigroup.com/wiki/Hardware_List/">hardware</a> related to <a href="http://nuigroup.com/wiki/Multitouch_Technologies/">multitouch</a> and <a href="http://nuigroup.com/wiki/multi-model/"  title="multi-model">multi-model</a> input systems. Also you will be able to find out general information about our community here.<hr></p><h4>Featured Wiki Articles</h4><p>
<div style="border:1px #CCCCCC solid; background:#F2f2f2; padding:15px"><a href="http://nuigroup.com/wiki/Building_Process/"  title="Building_Process">Building Process</a>
<br />
<a href="http://nuigroup.com/wiki/Cameras/"  title="Cameras">Cameras</a>
<br />
<a href="http://nuigroup.com/wiki/Touchlib/"  title="Touchlib">Touchlib</a>
<br />
</div>
</p>
<h4>Community Links</h4><p>
<div style="border:1px #CCCCCC solid; background:#F2f2f2; padding:15px"><a href="http://nuigroup.com/">Home</a>
<br />
<a href="http://nuigroup.com/log/about/">About Us</a>
<br />
<a href="http://nuigroup.com/log/archives/">News Archive</a>
<br />
<a href="http://nuigroup.com/forums/">Forums</a>
<br />
<a href="http://en.wikipedia.org/wiki/IRC">IRC</a> - #nuigroup on irc.freenode.net
<br />
</div>
</p>
<h4>Community Projects</h4><p>
<div style="border:1px #CCCCCC solid; background:#F2f2f2; padding:15px"><a href="http://nuigroup.com/wiki/OpenTouch/"  title="OpenTouch">OpenTouch</a>
<br />
<a href="http://nuigroup.com/wiki/Lux_Platform/"  title="Lux_Platform">Lux Platform</a>
<br />
<a href="http://nuigroup.com/wiki/Touchlib/"  title="Touchlib">Touchlib</a>
<br />
<a href="http://nuigroup.com/wiki/TouchEvent/" class="noArticle" title="TouchEvent">TouchEvent</a>
<br />
<a href="http://nuigroup.com/wiki/Google_Summer_of_Code_2008_Projects_Ideas/">GSoC</a></div>
</p>
<h4>Related</h4><p>
<div style="border:1px #CCCCCC solid; background:#F2f2f2; padding:15px"><a href="http://eedocs.pmachine.com/modules/wiki/getting_started.html">Wiki Help</a>
<br />
</div>
<br />
<hr/>
<br />
Note: Wiki theme broken in IE&#8230; get a real browser&#8230;
</p>]]></description>
      <dc:subject>index</dc:subject>
      <dc:date>2008-07-27T04:22:22-05:00</dc:date>
    </item>

    <item>
      <title>AS3</title>
      <link>http://nuigroup.com/wiki/AS3/</link>
      <guid>http://nuigroup.com/wiki/AS3/</guid>
      <description><![CDATA[<p>#REDIRECT<a href="http://nuigroup.com/wiki/Actionscript_3/" class="noArticle" title="Actionscript_3">Actionscript 3</a>
</p>]]></description>
      <dc:subject>AS3</dc:subject>
      <dc:date>2008-07-23T00:13:03-05:00</dc:date>
    </item>

    <item>
      <title>Multitouchable</title>
      <link>http://nuigroup.com/wiki/Multitouchable/</link>
      <guid>http://nuigroup.com/wiki/Multitouchable/</guid>
      <description><![CDATA[<p>To use this class in <a href="http://nuigroup.com/wiki/AS3/"  title="AS3">AS3</a>:
</p>
<p>
import app.core.action.Multitouchable;
</p>]]></description>
      <dc:subject>Multitouchable</dc:subject>
      <dc:date>2008-07-23T00:12:13-05:00</dc:date>
    </item>

    
    </channel>
</rss>
	
