<?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>Carlo Alducente&#039;s Blog &#187; BitmapData</title>
	<atom:link href="http://labs.alducente.com/tag/bitmapdata/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.alducente.com</link>
	<description></description>
	<lastBuildDate>Thu, 12 Nov 2009 01:04:57 +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>AS3 Edge Detection Demo</title>
		<link>http://labs.alducente.com/2009/11/11/as3-edge-detection-demo/</link>
		<comments>http://labs.alducente.com/2009/11/11/as3-edge-detection-demo/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 01:04:57 +0000</pubDate>
		<dc:creator>alducente</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[BitmapData]]></category>
		<category><![CDATA[DIFFERENCE]]></category>
		<category><![CDATA[edge detection]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[Webcam]]></category>

		<guid isPermaLink="false">http://labs.alducente.com/?p=178</guid>
		<description><![CDATA[So after posting about a technique to detect edges in AS3, I decided to take a little bit of time today to actually play with it. Check out the vid: The demo used BitmapData along with the &#8220;difference&#8221; blendmode to extract the edges from the webcam feed. Using BitmapData&#8217;s hitTest method, I was able to [...]]]></description>
			<content:encoded><![CDATA[<p>So after posting about a <a href="http://labs.alducente.com/2009/10/16/blendmode-difference-and-why-its-awesome/">technique to detect edges</a> in AS3, I decided to take a little bit of time today to actually play with it. Check out the vid:</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/YD7soPmI_wQ&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/YD7soPmI_wQ&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object></p>
<p>The demo used BitmapData along with the &#8220;difference&#8221; blendmode to extract the edges from the webcam feed. Using BitmapData&#8217;s hitTest method, I was able to check whether my sprite is hitting an edge. This was a pretty quick and simple demo (1hr and 147 lines of code! Woot!), so that I could actually see this thing in action. &#8220;Line Rider&#8221; anyone?</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.alducente.com/2009/11/11/as3-edge-detection-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Shape Detection</title>
		<link>http://labs.alducente.com/2009/11/10/flash-shape-detection/</link>
		<comments>http://labs.alducente.com/2009/11/10/flash-shape-detection/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 02:08:41 +0000</pubDate>
		<dc:creator>alducente</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[BitmapData]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[gesture]]></category>
		<category><![CDATA[shape detection]]></category>

		<guid isPermaLink="false">http://labs.alducente.com/?p=166</guid>
		<description><![CDATA[I&#8217;ve playing with a lot of motion/gesture detection in flash lately, and this week I got into some shape detection based on user input. In this demo, I used the &#8220;difference&#8221; blend mode to compare the user&#8217;s drawing with a bunch of vector shapes that I&#8217;ve baked in to the swf file. Press down, drag, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve playing with a lot of motion/gesture detection in flash lately, and this week I got into some shape detection based on user input. In this demo, I used the <a href="http://labs.alducente.com/2009/10/16/blendmode-difference-and-why-its-awesome/" target="_self">&#8220;difference&#8221; blend mode</a> to compare the user&#8217;s drawing with a bunch of vector shapes that I&#8217;ve baked in to the swf file.</p>
<p>Press down, drag, and release when your doodle is done. Try to draw the 4 shapes and test out its accuracy.</p>
<p>
<object width="400" height="350">
<param name="movie" value="http://labs.alducente.com/wp-content/uploads/2009/11/shapes.swf"></param>
<param name="quality" value="high"></param>
<param name="wmode" value="window"></param>
<param name="menu" value="false"></param>
<param name="bgcolor" value="#FFFFFF"></param>
<embed type="application/x-shockwave-flash" width="400" height="350" src="http://labs.alducente.com/wp-content/uploads/2009/11/shapes.swf" quality="high" bgcolor="#FFFFFF" wmode="window" menu="false" ></embed>
</object>
</p>
<p>When you release the mouse, the shape it detects should light up, if it doesn&#8217;t recognize it then none of the 4 shapes should light up. What I like about this method is that you don&#8217;t need to &#8220;close&#8221; the shapes you draw. You can draw a spiral and it should detect that it&#8217;s a circle.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.alducente.com/2009/11/10/flash-shape-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Demo: Playing with text.</title>
		<link>http://labs.alducente.com/2009/09/29/demo-playing-with-text/</link>
		<comments>http://labs.alducente.com/2009/09/29/demo-playing-with-text/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 03:28:34 +0000</pubDate>
		<dc:creator>alducente</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[BitmapData]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://labs.alducente.com/?p=95</guid>
		<description><![CDATA[I had a bit of a blast from the past earlier today while going through some old folders containing previous work and experiments. I came across a quick little demo I threw together in my early attempts of using TweenLite and the BitmapData class. Check it out below: And I&#8217;m not quite sure why I [...]]]></description>
			<content:encoded><![CDATA[<p>I had a bit of a blast from the past earlier today while going through some old folders containing previous work and experiments. I came across a quick little demo I threw together in my early attempts of using TweenLite and the BitmapData class. Check it out below:</p>
<p>
<object width="500" height="200">
<param name="movie" value="http://labs.alducente.com/wp-content/uploads/2009/09/dotText.swf"></param>
<param name="quality" value="high"></param>
<param name="wmode" value="window"></param>
<param name="menu" value="false"></param>
<param name="bgcolor" value="#FFFFFF"></param>
<embed type="application/x-shockwave-flash" width="500" height="200" src="http://labs.alducente.com/wp-content/uploads/2009/09/dotText.swf" quality="high" bgcolor="#FFFFFF" wmode="window" menu="false" ></embed>
</object>
</p>
<p>And I&#8217;m not quite sure why I did it, but I added a rollover effect on the dots as well&#8230;go ahead, put your mouse over those dots, you know you want to!</p>
<p>Looking back at this, and some <a href="http://labs.alducente.com/page/2/" target="_self">recent BitmapData work</a>, I&#8217;m getting a bit excited and starting to crave some more experimental work, I&#8217;ve already got a few ideas in mind! Superfluous rollover effects and all! <img src='http://labs.alducente.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>-Carlo</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.alducente.com/2009/09/29/demo-playing-with-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interacting with the webcam</title>
		<link>http://labs.alducente.com/2009/08/25/70/</link>
		<comments>http://labs.alducente.com/2009/08/25/70/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 20:50:34 +0000</pubDate>
		<dc:creator>alducente</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Augmented Reality]]></category>
		<category><![CDATA[Bitmap]]></category>
		<category><![CDATA[BitmapData]]></category>
		<category><![CDATA[Camera]]></category>
		<category><![CDATA[Marker Tracking]]></category>
		<category><![CDATA[Motion Detection]]></category>
		<category><![CDATA[Webcam]]></category>

		<guid isPermaLink="false">http://labs.alducente.com/?p=70</guid>
		<description><![CDATA[Last month, we decided to do some show-and-tell sessions at Zinc Roe where everyone had a chance to show some really cool stuff. My contribution was a little presentation on different ways to use the webcam to interact with flash applications. I had a blast reading up on some interesting webcam detection tutorials and articles, [...]]]></description>
			<content:encoded><![CDATA[<p>Last month, we decided to do some show-and-tell sessions at Zinc Roe where everyone had a chance to show some really cool stuff. My contribution was a little presentation on different ways to use the webcam to interact with flash applications. I had a blast reading up on some interesting webcam detection tutorials and articles, as well as putting some examples together myself.</p>
<p>Here are the topics I covered:</p>
<ul>
<li><strong>Camera.activityLevel</strong> &#8211; A brief explanation on using the Camera object&#8217;s activityLevel property</li>
<li><strong>Bitmap.getPixel()</strong> &#8211; Using the BitmapData class to check for motion</li>
<li><strong>Augmented Reality &amp; Marker Tracking</strong> &#8211; What it is and how it can be used in different applications.</li>
<li><strong>Moving MovieClips with your hand (or other limbs) using the webcam</strong> &#8211; An example of how you can use the motion detection stuff to move a MovieClip around the screen using only your hands and a webcam.</li>
</ul>
<p>So check out <a href="http://blog.zincroe.com/2009/07/motion-activity-tracking-in-flash/" target="_blank" onclick="urchinTracker('/outgoing/blog.zincroe.com/2009/07/motion-activity-tracking-in-flash/?referer=');">my post over at the Metal Fish Eggs blog</a> and let me know what you think!</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.alducente.com/2009/08/25/70/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
