<?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>Jop Wielens &#187; as3</title>
	<atom:link href="http://www.interactionfigure.nl/category/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.interactionfigure.nl</link>
	<description>Actionscript experiments and general weirdness</description>
	<lastBuildDate>Wed, 14 Jul 2010 14:31:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Webcam Keepy-Uppy Worldcup game for The Netherlands released</title>
		<link>http://www.interactionfigure.nl/2010/webcam-keepy-uppy-worldcup-game-for-the-netherlands-released/</link>
		<comments>http://www.interactionfigure.nl/2010/webcam-keepy-uppy-worldcup-game-for-the-netherlands-released/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 14:30:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[theFactor.e]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[interaction]]></category>
		<category><![CDATA[keepy]]></category>
		<category><![CDATA[uppy]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=103</guid>
		<description><![CDATA[Over the past couple days we&#8217;ve built a keepy-uppy game here at theFactor.e to celebrate the win of Holland in the Worldcup. Unfortunately it didn&#8217;t go our way and we came in second. So the game is now great to take your mind off the loss. I used the great face recognition code Marilena. This [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past couple days we&#8217;ve built a keepy-uppy game here at theFactor.e to celebrate the win of Holland in the Worldcup. Unfortunately it didn&#8217;t go our way and we came in second. So the game is now great to take your mind off the loss.</p>
<p>I used the great face recognition code <a title="Face Tracking" href="http://www.libspark.org/svn/as3/Marilena/">Marilena</a>. This awesome bit of AS3 code is based on some older work done in C: <a title="Face Tracking" href="http://opencv.willowgarage.com/wiki/FaceDetection">OpenCV</a>. Once I knew where the face was I added a little bit of physics. Using 2d ball on ball collision I can make the ball bounce of your head in the right way. To see how these collisions work check <a title="2d collisions" href="http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=4">this page</a>.</p>
<p>Have fun playing the game. And for the non-Dutch speaking visitors just click &#8216;webcam&#8217; to play with your webcam (duh) and &#8216;muis&#8217; to play with your mouse. Play the <a title="Keepy Uppy worldcup game" href="http://wkgame.tfe.nl/">theFactor.e Keepy Uppy game here</a>.</p>
<p><object type="application/x-shockwave-flash" width="400" height="300" data="http://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#038;photo_secret=15083c33a5&#038;photo_id=4792920823"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71377"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#038;photo_secret=15083c33a5&#038;photo_id=4792920823" height="300" width="400"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2010/webcam-keepy-uppy-worldcup-game-for-the-netherlands-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with multitouch in AIR 2.0 and Player 10.1 on the Macbook</title>
		<link>http://www.interactionfigure.nl/2010/getting-started-with-multitouch-in-air-2-0-and-player-10-1-on-the-macbook/</link>
		<comments>http://www.interactionfigure.nl/2010/getting-started-with-multitouch-in-air-2-0-and-player-10-1-on-the-macbook/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 15:54:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[theFactor.e]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[air 2.0]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[fp 10.1]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[multitouch]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=99</guid>
		<description><![CDATA[I decided to have a look at the latest beta players for AIR 2.0 and FP 1.5 with regards to multitouch. Lee Brimelow has a great multitouch tutorial on his site, check it out. In order to get it to work you need a Macbook with multitouch pad. I use the latest pro model, courtesy [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to have a look at the latest beta players for AIR 2.0 and FP 1.5 with regards to multitouch. Lee Brimelow has a <a href="http://theflashblog.com/?p=1805">great multitouch tutorial</a> on his site, check it out.</p>
<p>In order to get it to work you need a Macbook with multitouch pad. I use the latest pro model, courtesy of theFactor.e <img src='http://www.interactionfigure.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<ul>
<li>You need to download the beta runtime plus sdk which you can get <a href="http://labs.adobe.com/downloads/air2.html">here</a>.</li>
<li>Install the runtime. This is the easy part.</li>
<li>Setup the sdk like they explain <a href="http://labs.adobe.com/wiki/index.php/AIR_2:Release_Notes#AIR_2_SDK">here</a>. I&#8217;ve got it setup so I can export from Flash.</li>
<li>Create a new Flash AIR project.</li>
<li>If you would use any of the TransformGestureEvents now it will throw an error. But export the file anyway.</li>
<li>Open the xml file that Flash just exported next to your swf (Multitouch-app.xml in my case).</li>
<li>Change the line that define the name space so it uses the 2.0 beta name space:<br />
<em>&lt;application xmlns=&#8221;http://ns.adobe.com/air/application/2.0beta2&#8243;&gt;</em></li>
<li>Save the xml and try exporting the Flash file again. It should work a charm now.</li>
</ul>
<p>I&#8217;ve uploaded the source for you to play with <a href="http://www.interactionfigure.nl/source/airmultitouch.zip">here</a>. And if you just want to see the AIR app download that <a href="http://www.interactionfigure.nl/source/Multitouch.air">here</a>. It only works on a Macbook with multitouch pad or some other fancy multitouch device running Windows 7. Enjoy!</p>
<p>Big thanks to Lee Brimelow and the Internets <img src='http://www.interactionfigure.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2010/getting-started-with-multitouch-in-air-2-0-and-player-10-1-on-the-macbook/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Having fun with Face Tracking and MP3 Pitch control</title>
		<link>http://www.interactionfigure.nl/2009/having-fun-with-face-tracking-and-mp3-pitch-control/</link>
		<comments>http://www.interactionfigure.nl/2009/having-fun-with-face-tracking-and-mp3-pitch-control/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 08:39:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[face tracking]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[microphone]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[pan flute]]></category>
		<category><![CDATA[pitch]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=82</guid>
		<description><![CDATA[There is a lot of cool open source stuff coming out this year in the Flash community. Earlier this year we saw the Flash Face Tracking and 2 months ago Andre Michelle showed how easy it was to control the pitch of a sound in Flash 10. I love all that stuff. So I though, [...]]]></description>
			<content:encoded><![CDATA[<p>There is a lot of cool open source stuff coming out this year in the Flash community. Earlier this year we saw the <a title="Flash Face Tracking" href="http://www.squidder.com/2009/02/26/realtime-face-detection-in-flash/" target="_self">Flash Face Tracking</a> and 2 months ago <a title="Andre Michelle - Blog" href="http://blog.andre-michelle.com/" target="_self">Andre Michelle</a> showed how easy it was to <a title="Andre Michelle - Pitch Control in FP10" href="http://blog.andre-michelle.com/2009/pitch-mp3/" target="_self">control the pitch of a sound</a> in Flash 10. I love all that stuff.</p>
<p>So I though, what can I build to have a little fun with all this open source loveliness. A webcam/mic driven pan flute of course! <img src='http://www.interactionfigure.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a title="Source" href="http://www.interactionfigure.nl/source/bottleblower.zip">Here </a>is the source from this experiment.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_BottleBlower_51005784"
			class="flashmovie"
			width="600"
			height="400">
	<param name="movie" value="http://www.interactionfigure.nl/swfs/BottleBlower.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.interactionfigure.nl/swfs/BottleBlower.swf"
			name="fm_BottleBlower_51005784"
			width="600"
			height="400">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2009/having-fun-with-face-tracking-and-mp3-pitch-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alice in Wonderland Papervision site is live</title>
		<link>http://www.interactionfigure.nl/2009/alice-in-wonderland-papervision-site-is-live/</link>
		<comments>http://www.interactionfigure.nl/2009/alice-in-wonderland-papervision-site-is-live/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 08:11:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Digital Outlook]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[alice in wonderland]]></category>
		<category><![CDATA[papervision]]></category>
		<category><![CDATA[Tim Burton]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=68</guid>
		<description><![CDATA[Great day yesterday. After all the hard work my colleague Graham and I put in, the site for the new Tim Burton movie has finally gone live. For this project we wanted to showcase the characters in a way that made sense for the movie. So we came up with the idea of having them [...]]]></description>
			<content:encoded><![CDATA[<p>Great day yesterday. After all the hard work my colleague Graham and I put in, the site for the new Tim Burton movie has finally gone live.</p>
<div class="wp-caption alignnone" style="width: 560px"><a href="http://www2.disney.co.uk/DisneyMovies/alice/"><img title="Alice in Wonderland" src="http://www.interactionfigure.nl/images/alice_site.jpg" alt="Alice in Wonderland screen shot" width="550" height="336" /></a><p class="wp-caption-text">Alice in Wonderland screen shot</p></div>
<p>For this project we wanted to showcase the characters in a way that made sense for the movie. So we came up with the idea of having them fly past while you (Alice) are falling down the rabbit hole.</p>
<p>The site is my 3rd Papervision site and I&#8217;m starting to understand more and more about creating a good working site using this technology. It is really important to re-use your objects and keep an eye on the memory used. If you&#8217;re not careful, you can grind a site to a halt quite easily.</p>
<p>The tunnel texture is a looping Movieclip that I put on a cylinder. The camera is inside this cylinder. Then I have a bunch of flat planes with things like a watch, a chair, a crown etc mapped on top of them. They fly past and as soon as they go off screen, they loop back from the bottom again.</p>
<p>The main object of course is the picture frame. I first started off with just a box but that didn&#8217;t give the right feel. So I created this more detailed shape that has all the edges and depth of a real picture frame. Graham then created the textures and I put it all together. I love how much more depth it gives the frame.</p>
<p>I use the interactive moviematerial for the front (character) and back (downl0ads) sections. I then added the neat things like the FileReference style download of the icons, so we didn&#8217;t need a popup.</p>
<p>Have a look at the site here: <a title="Alice in Wonderland site" href="http://www2.disney.co.uk/DisneyMovies/alice/" target="_self">http://www2.disney.co.uk/DisneyMovies/alice/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2009/alice-in-wonderland-papervision-site-is-live/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Silly webcam motion tracking thingy</title>
		<link>http://www.interactionfigure.nl/2009/silly-webcam-motion-tracking-thingy/</link>
		<comments>http://www.interactionfigure.nl/2009/silly-webcam-motion-tracking-thingy/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 08:30:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[eye]]></category>
		<category><![CDATA[sauron]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=25</guid>
		<description><![CDATA[I was cycling home today and had a bit of a random idea on how it would be funny to track motion using the webcam and use that to move a set of eyes around. As if the person on screen could actually see you. Anywaysss, quick half hour later and you can see the [...]]]></description>
			<content:encoded><![CDATA[<p>I was cycling home today and had a bit of a random idea on how it would be funny to track motion using the webcam and use that to move a set of eyes around. As if the person on screen could actually see you.</p>
<p>Anywaysss, quick half hour later and you can see the result below. <a title="Webcam Tmotion track source" href="http://www.interactionfigure.nl/source/sauron_eye_track.zip">Download the source if you like</a>. Have fun playing!</p>
<p>Move from left to right. Or just sit still and move your left hand or right hand. You’ll figure it out.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_eyes_track_215806888"
			class="flashmovie"
			width="600"
			height="450">
	<param name="movie" value="http://www.interactionfigure.nl/swfs/eyes_track.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.interactionfigure.nl/swfs/eyes_track.swf"
			name="fm_eyes_track_215806888"
			width="600"
			height="450">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2009/silly-webcam-motion-tracking-thingy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kaleidoscope fun in Flash. Now with superfast image export!</title>
		<link>http://www.interactionfigure.nl/2009/kaleidoscope-fun-in-flash-now-with-superfast-image-export/</link>
		<comments>http://www.interactionfigure.nl/2009/kaleidoscope-fun-in-flash-now-with-superfast-image-export/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 10:40:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[ByteArray]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[image export]]></category>
		<category><![CDATA[kaleidoscope]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=48</guid>
		<description><![CDATA[I found this supercool Adobe AS3 library that uses ByteArray to export images superfast. The only thing the PHP does is put a header on it and serve it up. Wicked. And what better way to test that than building a webcam Kaleidoscope. Hours of fun! Here is the source if you&#8217;re interested. 
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2009/kaleidoscope-fun-in-flash-now-with-superfast-image-export/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My first papervision webcam experiment</title>
		<link>http://www.interactionfigure.nl/2009/my-first-papervision-webcam-experiment/</link>
		<comments>http://www.interactionfigure.nl/2009/my-first-papervision-webcam-experiment/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 09:59:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[colour]]></category>
		<category><![CDATA[papervision]]></category>
		<category><![CDATA[threshold]]></category>
		<category><![CDATA[tunnel]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=19</guid>
		<description><![CDATA[The Papervision Workshop on Flash on the Beach this year really opened my eyes on the Papervision front. I never really made the step to start experimenting with Papervision because it’s not the most accessible thing to start with. At least that’s what I thought… Ralph Hauwert really showed how easy Papervision can be and [...]]]></description>
			<content:encoded><![CDATA[<p>The Papervision Workshop on <a onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flashonthebeach.com');" href="http://www.flashonthebeach.com/">Flash on the Beach</a> this year really opened my eyes on the Papervision front. I never really made the step to start experimenting with Papervision because it’s not the most accessible thing to start with. At least that’s what I thought…</p>
<p>Ralph Hauwert really showed how easy Papervision can be and that you can have a scene up and running in no time. So hey, in comes a rainy weekend in London and you can see the result below.</p>
<p>I just wanted to do something weird with a webcam and Papervision. I’ve applied a threshold to the images I capture using the webcam. The further along the line the lower the value for the threshold gets. So you get a kind of tunnel that first only shows the very bright bits and then slowly shows everything.</p>
<p>And I’ve added a little rotation etc just because I can <img src='http://www.interactionfigure.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I’ve put the <a onclick="javascript:pageTracker._trackPageview('/downloads/source/papervision_test1.zip');" href="http://www.interactionfigure.nl/source/papervision_test1.zip">source code</a> in a zip. You will need the Papervision SWC or AS3 classes to run it. If you don’t have them, please have a look at the <a onclick="javascript:pageTracker._trackPageview('/outbound/article/blog.papervision3d.org');" href="http://blog.papervision3d.org/">Papervision blog</a> on the right side (Getting started 2.0).</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_webcampapervision_1_922347299"
			class="flashmovie"
			width="600"
			height="450">
	<param name="movie" value="http://www.interactionfigure.nl/swfs/webcampapervision_1.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.interactionfigure.nl/swfs/webcampapervision_1.swf"
			name="fm_webcampapervision_1_922347299"
			width="600"
			height="450">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2009/my-first-papervision-webcam-experiment/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Colour tracking with the webcam in Flash</title>
		<link>http://www.interactionfigure.nl/2009/colour-tracking-with-the-webcam-in-flash/</link>
		<comments>http://www.interactionfigure.nl/2009/colour-tracking-with-the-webcam-in-flash/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 09:34:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[colour]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=29</guid>
		<description><![CDATA[Something I wanted to do for a while. Track a colour using your webcam in Flash. I draw the webcam into Bitmapadata so I can play around with it. If you take the getColorBoundsRect straight from the raw bitmapdata it will be very hard to get something useful as you just have to many single [...]]]></description>
			<content:encoded><![CDATA[<p>Something I wanted to do for a while. Track a colour using your webcam in Flash. I draw the webcam into Bitmapadata so I can play around with it. If you take the getColorBoundsRect straight from the raw bitmapdata it will be very hard to get something useful as you just have to many single pixels and colours to analise. So I implement a little trick that makes it better to analise. First I blur the video so it smooths the colours. Then I turn it into a 8 channel image.</p>
<p>After that I just layer a fresh video feed that isnt distorted on top and start drawing based on the colour and position.</p>
<p>Enjoy! You can grab the source <a title="Colour tracking source" onclick="javascript:pageTracker._trackPageview('/downloads/source/WebcamColourTracking.zip');" href="http://www.interactionfigure.nl/source/WebcamColourTracking.zip">here </a>if you want.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_WebcamColourTracking_584053932"
			class="flashmovie"
			width="600"
			height="450">
	<param name="movie" value="http://www.interactionfigure.nl/swfs/WebcamColourTracking.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.interactionfigure.nl/swfs/WebcamColourTracking.swf"
			name="fm_WebcamColourTracking_584053932"
			width="600"
			height="450">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2009/colour-tracking-with-the-webcam-in-flash/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Flash Facetracking kicks ass</title>
		<link>http://www.interactionfigure.nl/2009/flash-facetracking-kicks-ass/</link>
		<comments>http://www.interactionfigure.nl/2009/flash-facetracking-kicks-ass/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 11:49:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[face]]></category>
		<category><![CDATA[ring]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=27</guid>
		<description><![CDATA[(This is a repost from March 2009, my blog crashed in the meantime ) Last week I noticed a couple Flash guys jumping on the face tracking code. The legendary Mario Klingemann (aka Quasimondo) did a great example and shared his source code. I really appreciate the fact that people are sharing this source code [...]]]></description>
			<content:encoded><![CDATA[<p>(This is a repost from March 2009, my blog crashed in the meantime <img src='http://www.interactionfigure.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
<p>Last week I noticed a couple Flash guys jumping on the face tracking code. The legendary Mario Klingemann (aka Quasimondo) did a <a href="http://incubator.quasimondo.com/flash/manic_mirror.php">great example</a> and shared his <a title="Source code" href="http://www.quasimondo.com/archives/000687.php">source code.</a></p>
<p>I really appreciate the fact that people <a href="http://www.squidder.com/2009/02/26/realtime-face-detection-in-flash/">are sharing</a> <a href="http://www.libspark.org/svn/as3/Marilena/">this source code</a> for others to play with. Good work!</p>
<p>I totaly love the idea of being able to track your face with the webcam. I had a little demo working yesterday (st Patricks day) where I drop a green hat on your head. Hours of fun <img src='http://www.interactionfigure.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .<br />
Today on the way into work I remembered the movie <a href="http://www.imdb.com/title/tt0298130/">The Ring</a> where peoples faces got blurred in pictures when they were about to die. So 20 minutes of playing around with Mario’s source code later and you can see the result below.</p>
<p>I can’t wait to spend a bit more time on this code and hopefully will be doing some client work using this technology soon. Fingers crossed.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_facedetector_cam_ring_193529924"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="http://www.interactionfigure.nl/swfs/facedetector_cam_ring.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.interactionfigure.nl/swfs/facedetector_cam_ring.swf"
			name="fm_facedetector_cam_ring_193529924"
			width="550"
			height="400">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2009/flash-facetracking-kicks-ass/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>25 lines of code contest</title>
		<link>http://www.interactionfigure.nl/2009/25-lines-of-code-contest/</link>
		<comments>http://www.interactionfigure.nl/2009/25-lines-of-code-contest/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 11:43:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[25 lines]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[keith peters]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=21</guid>
		<description><![CDATA[Keith Peters organised a Flash coding contest where you could do anything you want as long as it was AS3 and didn’t exceed 25 lines. Very cool. The contest closed last night so I can now post my entry. It’s not rocket science but I think it looks cool . Have fun playing and enjoy [...]]]></description>
			<content:encoded><![CDATA[<p><a onclick="javascript:pageTracker._trackPageview('/outbound/article/www.25lines.com');" href="http://www.25lines.com/">Keith Peters</a> organised a <a title="25 lines contest" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.25lines.com');" href="http://www.25lines.com/">Flash coding contest</a> where you could do anything you want as long as it was AS3 and didn’t exceed 25 lines. Very cool.</p>
<p>The contest closed last night so I can now post my entry. It’s not rocket science but I think it looks cool <img src='http://www.interactionfigure.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Have fun playing and enjoy the code if you like.</p>
<p><script type="text/javascript">
	// &lt;![CDATA[</p>
<p>	var so_1549994807 = new SWFObject("http://www.interactionfigure.nl/swfs/25lines.swf","fm_25lines_1549994807","600","600","6","","","","","");
	so_1549994807.write("so_targ_25lines_1549994807");</p>
<p>	// ]]&gt;
</script></p>
<blockquote><p><em><br />
[SWF(width=800, height=800, backgroundColor=0x000000, frameRate=24)]<br />
stage.align = StageAlign.TOP_LEFT;<br />
stage.scaleMode = StageScaleMode.NO_SCALE;</em></p>
<p><em>//25 lines begins here<br />
var bmdDisplay:BitmapData = new BitmapData(800, 800, true, 0×00000000);<br />
var drawSprite:Sprite = new Sprite();<br />
var insideDrawSprite:Sprite = new Sprite();<br />
var aPoints:Array = [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]];<br />
var aPositions:Array = [[0,0,1,1],[800,0,-1,1],[800,800,-1,-1],[0,800,1,-1]];<br />
this.addChild(new Bitmap(bmdDisplay));<br />
drawSprite.addChild(insideDrawSprite);<br />
this.addEventListener(Event.ENTER_FRAME, updateStage);<br />
function updateStage(e:Event):void {<br />
bmdDisplay.applyFilter(bmdDisplay, bmdDisplay.rect, new Point(0, 0), new ColorMatrixFilter([1, 0, 0, 0, 0, 0, 0.85, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0.92, 0]));<br />
insideDrawSprite.graphics.clear();<br />
insideDrawSprite.graphics.beginFill(0xFFFFFF);<br />
for (var i:uint = 0; i&lt;aPoints.length; i++) {<br />
insideDrawSprite.graphics.lineTo(aPoints[i][0], aPoints[i][1]);<br />
}<br />
insideDrawSprite.graphics.endFill();<br />
for(i=0;i&lt;aPositions.length;i++){<br />
insideDrawSprite.x = aPositions[i][0];<br />
insideDrawSprite.y = aPositions[i][1];<br />
insideDrawSprite.scaleX = aPositions[i][2];<br />
insideDrawSprite.scaleY = aPositions[i][3];<br />
bmdDisplay.draw(drawSprite);<br />
}<br />
aPoints = [aPoints[1], aPoints[2], aPoints[3], aPoints[4], aPoints[5], aPoints[6], aPoints[7],      aPoints[8], aPoints[9], [this.mouseX, this.mouseY]];<br />
};</em></p>
<p><em>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_25lines_681826366"
			class="flashmovie"
			width="600"
			height="600">
	<param name="movie" value="http://www.interactionfigure.nl/swfs/25lines.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.interactionfigure.nl/swfs/25lines.swf"
			name="fm_25lines_681826366"
			width="600"
			height="600">
	<!--<![endif]-->
		<em><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></em></p>
<p><em>
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object></em><br />
</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2009/25-lines-of-code-contest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
