<?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>Patrick Matte &#187; Flash</title>
	<atom:link href="http://www.patrickmatte.com/index.php/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.patrickmatte.com</link>
	<description>Flash programming, animation and design.</description>
	<lastBuildDate>Thu, 17 Nov 2011 02:03:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Animation test &#8211; zoom blur from space to Earth surface with Google Maps and Flash</title>
		<link>http://www.patrickmatte.com/index.php/2011/08/12/animation-test-zoom-blur-from-space-to-earth-surface-with-google-maps-and-flash/</link>
		<comments>http://www.patrickmatte.com/index.php/2011/08/12/animation-test-zoom-blur-from-space-to-earth-surface-with-google-maps-and-flash/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 00:38:01 +0000</pubDate>
		<dc:creator>Patrick Matte</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[Papervision3D]]></category>

		<guid isPermaLink="false">http://www.patrickmatte.com/?p=187</guid>
		<description><![CDATA[Following up on my previous blog post, I made some animation tests for moving on the globe from one location to another. After you get to Los Angeles, use the search box to go to any other location. I used Away3D 3.x and a motion blur filter that I found in Adobe&#8217;s Pixel Bender Library. [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignnone" style="width: 460px"><a href="http://patrickmatte.com/stuff/earth2/" target="_blank"><img alt="Zoom blur from space to Earth surface" src="http://www.patrickmatte.com/stuff/earth2/zoomBlur.jpg" title="Zoom blur from space to Earth surface" width="450" height="300" /></a><p class="wp-caption-text">Click to open SWF</p></div>
<p>Following up on my previous blog post, I made some animation tests for moving on the globe from one location to another.</p>
<p>After you get to Los Angeles, use the search box to go to any other location.</p>
<p>I used Away3D 3.x and a motion blur filter that I found in Adobe&#8217;s Pixel Bender Library. It actually took a lot of work to make this look good.</p>
<p><a href="http://www.patrickmatte.com/stuff/earth2/source.zip">Download the source files.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.patrickmatte.com/index.php/2011/08/12/animation-test-zoom-blur-from-space-to-earth-surface-with-google-maps-and-flash/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Simulating Google Earth with the Google Maps API for Flash</title>
		<link>http://www.patrickmatte.com/index.php/2011/05/16/simulating-google-earth-with-google-maps-api-for-flash/</link>
		<comments>http://www.patrickmatte.com/index.php/2011/05/16/simulating-google-earth-with-google-maps-api-for-flash/#comments</comments>
		<pubDate>Mon, 16 May 2011 23:03:41 +0000</pubDate>
		<dc:creator>Patrick Matte</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Papervision3D]]></category>
		<category><![CDATA[TBWA\Chiat\Day Los Angeles]]></category>
		<category><![CDATA[Google Maps]]></category>

		<guid isPermaLink="false">http://www.patrickmatte.com/?p=179</guid>
		<description><![CDATA[I made some research on how to simulate Google Earth in Flash for a recent project at TBWA\Chiat\Day. Unfortunately the schedule was too tight and a freelancer was called in to build the module which in the end only used the regular google maps top view. But I wanted to share my research anyway. The [...]]]></description>
			<content:encoded><![CDATA[<p>I made some research on how to simulate Google Earth in Flash for a recent project at TBWA\Chiat\Day. Unfortunately the schedule was too tight and a freelancer was called in to build the module which in the end only used the regular google maps top view. But I wanted to share my research anyway.</p>
<div class="wp-caption alignnone" style="width: 460px"><a href="http://patrickmatte.com/stuff/earth/" target="_blank"><img alt="Google Earth in Flash" src="http://www.patrickmatte.com/stuff/earth/earth.jpg" title="Google Earth in Flash" width="450" height="320" /></a><p class="wp-caption-text">Click to open SWF</p></div>
<p>The tricky thing is that the grid in Google Maps is square and as you can see in the background, the latitude is not distributed evenly. So you can&#8217;t simply take the square map and put it on a sphere or it will appear very distorted. What you need to do is find the latitude/longitude of the 4 vertices of every face on the sphere and then use the method fromLatLngToViewPort which returns the Point on the map that corresponds to that latitude and longitude. Once you have all four points, you can draw that particular section of the map and use it as a material for the face. One thing worth mentioning is also that for some reason, the satellite view only has map available from 85 degrees to -85 degrees of latitude, so you have to patch the top and bottom of the sphere manually.</p>
<p>Maybe I&#8217;ll revisit this at a later time and make it possible zoom in on the map.</p>
<p><a href="http://www.patrickmatte.com/stuff/earth/Archive.zip">Download the source files.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.patrickmatte.com/index.php/2011/05/16/simulating-google-earth-with-google-maps-api-for-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSX genie-like effects with Flash and Papervision3D</title>
		<link>http://www.patrickmatte.com/index.php/2010/08/19/osx-genie-like-effects-with-flash-and-papervision3d/</link>
		<comments>http://www.patrickmatte.com/index.php/2010/08/19/osx-genie-like-effects-with-flash-and-papervision3d/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 00:34:22 +0000</pubDate>
		<dc:creator>Patrick Matte</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Papervision3D]]></category>
		<category><![CDATA[osx genie]]></category>

		<guid isPermaLink="false">http://www.patrickmatte.com/?p=158</guid>
		<description><![CDATA[I made a nice little transition effect this week that&#8217;s a bit similar to the genie effect on OSX. It&#8217;s basically just made with a Papervision3D plane and tweens for every vertices composing the plane. Open the swf and play with all the different easing equations to create a different look and feel. Download the [...]]]></description>
			<content:encoded><![CDATA[<p>I made a nice little transition effect this week that&#8217;s a bit similar to the genie effect on OSX. It&#8217;s basically just made with a Papervision3D plane and tweens for every vertices composing the plane. Open the swf and play with all the different easing equations to create a different look and feel.</p>
<div class="wp-caption alignnone" style="width: 460px"><a href="http://www.patrickmatte.com/stuff/genie/genie.html" target="_blank"><img alt="OSX genie effect with Flash" src="http://www.patrickmatte.com/stuff/genie/genie.jpg" title="OSX genie effect with Flash" width="450" height="320" /></a><p class="wp-caption-text">Click to open SWF</p></div>
<p><a href="http://www.patrickmatte.com/stuff/genie/genie.zip">Download the source files.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.patrickmatte.com/index.php/2010/08/19/osx-genie-like-effects-with-flash-and-papervision3d/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Reproducing the Labuat brushstroke effect&#8230;</title>
		<link>http://www.patrickmatte.com/index.php/2010/03/04/reproducing-the-labuat-brushstroke-effect/</link>
		<comments>http://www.patrickmatte.com/index.php/2010/03/04/reproducing-the-labuat-brushstroke-effect/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 00:40:29 +0000</pubDate>
		<dc:creator>Patrick Matte</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Generative Art]]></category>
		<category><![CDATA[labuat]]></category>

		<guid isPermaLink="false">http://www.patrickmatte.com/?p=121</guid>
		<description><![CDATA[This week i had a stint at trying to reproduce the brushstroke effect as seen on the famous labuat website, winner of the FWA&#8217;s 2009 people&#8217;s choice award. The tricky part was getting that same smoothness in the curves but i&#8217;m pretty happy with the results i got so far. For kicks, i also added [...]]]></description>
			<content:encoded><![CDATA[<p>This week i had a stint at trying to reproduce the brushstroke effect as seen on the famous <a href="http://soytuaire.labuat.com/" target="_blank">labuat website</a>, winner of the FWA&#8217;s 2009 people&#8217;s choice award. The tricky part was getting that same smoothness in the curves but i&#8217;m pretty happy with the results i got so far. For kicks, i also added some animation and velocity to the brushstroke.</p>
<div class="wp-caption alignnone" style="width: 460px"><a href="http://www.patrickmatte.com/stuff/brushstroke/ribbon7.html" target="_blank"><img alt="Brushstroke with velocity" src="http://www.patrickmatte.com/stuff/brushstroke/brushstrokeAnimated.jpg" title="Brushstroke with velocity" width="450" height="338" /></a><p class="wp-caption-text">Click to open SWF</p></div>
<div class="wp-caption alignnone" style="width: 460px"><a href="http://www.patrickmatte.com/stuff/brushstroke/ribbon5.html" target="_blank"><img alt="Labuat brushstroke" src="http://www.patrickmatte.com/stuff/brushstroke/brushstrokeHello.jpg" title="Labuat brushstroke" width="450" height="323" /></a><p class="wp-caption-text">Click to open SWF</p></div>
<p><a href="http://www.patrickmatte.com/stuff/brushstroke/sources.zip">Download the source files.</a></p>
<p> It was a nice continuation from the previous work i did on the <a href="http://www.patrickmatte.com/index.php/2009/07/25/i-won-the-25-lines-of-code-contest/">25 lines of code contest</a>. I&#8217;m gonna thinker a little bit more with the code and post more advanced experiments later on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.patrickmatte.com/index.php/2010/03/04/reproducing-the-labuat-brushstroke-effect/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Playing with constraints in AS3 with the physics engine APE.</title>
		<link>http://www.patrickmatte.com/index.php/2010/02/05/playing-with-constraints-in-as3-physics-engine-ape/</link>
		<comments>http://www.patrickmatte.com/index.php/2010/02/05/playing-with-constraints-in-as3-physics-engine-ape/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 23:52:03 +0000</pubDate>
		<dc:creator>Patrick Matte</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://www.patrickmatte.com/?p=100</guid>
		<description><![CDATA[Playing with a physics engine is so much fun. Be careful not to drag the cube too fast or it might break out. Download the source.]]></description>
			<content:encoded><![CDATA[<p>Playing with a physics engine is so much fun. Be careful not to drag the cube too fast or it might break out.</p>
<div class="wp-caption alignnone" style="width: 460px"><a href="http://www.patrickmatte.com/stuff/constraints/" target="_blank"><img alt="SpringConstraints in APE" src="http://www.patrickmatte.com/stuff/constraints/screentshot.jpg" title="SpringConstraints in APE" width="450" height="280" /></a><p class="wp-caption-text">Click to open SWF</p></div>
<p><a href="http://www.patrickmatte.com/stuff/constraints/constraints.zip">Download the source.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.patrickmatte.com/index.php/2010/02/05/playing-with-constraints-in-as3-physics-engine-ape/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Some generative art for our &#8220;25 lines of code&#8221; contest at TBWA\Chiat\Day. I won at unanimity!</title>
		<link>http://www.patrickmatte.com/index.php/2009/07/25/i-won-the-25-lines-of-code-contest/</link>
		<comments>http://www.patrickmatte.com/index.php/2009/07/25/i-won-the-25-lines-of-code-contest/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 02:44:35 +0000</pubDate>
		<dc:creator>Patrick Matte</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Generative Art]]></category>
		<category><![CDATA[TBWA\Chiat\Day Los Angeles]]></category>
		<category><![CDATA[25 lines of code]]></category>
		<category><![CDATA[tracy lines]]></category>

		<guid isPermaLink="false">http://www.patrickmatte.com/?p=57</guid>
		<description><![CDATA[The rules of the contest were simple, create the most awesome program in just 25 lines of code. The timing was pefect for me as i wasn&#8217;t too busy for the last two days before the deadline and i was able to work on a few entries. This one nailed it. I&#8217;m still surprised how [...]]]></description>
			<content:encoded><![CDATA[<p>The rules of the contest were simple, create the most awesome program in just 25 lines of code. The timing was pefect for me as i wasn&#8217;t too busy for the last two days before the deadline and i was able to work on a few entries.</p>
<div class="wp-caption alignnone" style="width: 460px"><a href="http://www.patrickmatte.com/stuff/25lines/tornado6.swf" target="_blank"><img src="http://www.patrickmatte.com/stuff/25lines/images/tornado_1.jpg" alt="My 25 lines of code winning entry" /></a><p class="wp-caption-text">Click to open SWF</p></div>
<p>This one nailed it. I&#8217;m still surprised how many things i was able to cram into 25 lines! I have a 3D engine in there that converts 3D points to 2D points in 3 lines of code! And the routine also changes the color of the lines, records arrays of points to create the trails that gets thinner as time increases. Also notice the velocity on each point that make the trail move along.</p>
<p><a href="http://www.patrickmatte.com/stuff/25lines/tornado6.zip" target="_blank">Download source fla</a><br/></p>
<p>I&#8217;m definitely happy with the first one but there&#8217;s another entry that i did which i also like.</p>
<div class="wp-caption alignnone" style="width: 460px"><a href="http://www.patrickmatte.com/stuff/25lines/curve2.html" target="_blank"><img src="http://www.patrickmatte.com/stuff/25lines/images/space_1.jpg" alt="Another entry in the contest" /></a><p class="wp-caption-text">Click to open SWF</p></div>
<p>For that one I got the inspiration from a demo i saw last week, and i thought to myself, &#8220;hey i can do this in 25 lines of code&#8221; so i did it. Some images it creates look a lot like those spacy tracy desktop backgrounds of Windows Vista and OSX.</p>
<p><a href="http://www.patrickmatte.com/stuff/25lines/curve2.zip" target="_blank">Download source fla</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.patrickmatte.com/index.php/2009/07/25/i-won-the-25-lines-of-code-contest/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>My posts at Blitz Labs</title>
		<link>http://www.patrickmatte.com/index.php/2009/06/23/my-posts-at-blitz-labs/</link>
		<comments>http://www.patrickmatte.com/index.php/2009/06/23/my-posts-at-blitz-labs/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 22:12:26 +0000</pubDate>
		<dc:creator>Patrick Matte</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Blitz]]></category>

		<guid isPermaLink="false">http://www.patrickmatte.com/?p=52</guid>
		<description><![CDATA[Just wanted to quickly make a link to a few articles I wrote on the Blitz Labs over the two years and a half that I spent there. There&#8217;s a nice one on a Polar Coordinates filter for flash 9.]]></description>
			<content:encoded><![CDATA[<p>Just wanted to quickly make a <a href="http://labs.blitzagency.com/?author=10" target="_blank">link to a few articles</a> I wrote on the Blitz Labs over the two years and a half that I spent there. There&#8217;s a nice one on a Polar Coordinates filter for flash 9.</p>
<div class="wp-caption alignnone" style="width: 460px"><a href="http://labs.blitzagency.com/?author=10" target="_blank"><img src="http://www.patrickmatte.com/stuff/images/blitzlabs.jpg" alt="My posts on Blitz Labs" /></a><p class="wp-caption-text">Click to open my posts at Blitz Labs</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.patrickmatte.com/index.php/2009/06/23/my-posts-at-blitz-labs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simulating liquid with actionscript 3 and physics engine APE.</title>
		<link>http://www.patrickmatte.com/index.php/2009/06/16/simulating-liquid-with-a-physics-engine-in-actionscript-3/</link>
		<comments>http://www.patrickmatte.com/index.php/2009/06/16/simulating-liquid-with-a-physics-engine-in-actionscript-3/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 07:08:00 +0000</pubDate>
		<dc:creator>Patrick Matte</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[TBWA\Chiat\Day Los Angeles]]></category>
		<category><![CDATA[Fluid]]></category>
		<category><![CDATA[Liquid]]></category>

		<guid isPermaLink="false">http://www.patrickmatte.com/?p=29</guid>
		<description><![CDATA[I created a quick prototype of a realtime liquid simulation for a project over at Chiat a couple weeks ago. The result might not be very realistic, a little cartoony you might say, but it&#8217;s definitely fun to play with (any program that features real-time physics just fascinates me). I made a quick demo to [...]]]></description>
			<content:encoded><![CDATA[<p>I created a quick prototype of a realtime liquid simulation for a project over at Chiat a couple weeks ago. The result might not be very realistic, a little cartoony you might say, but it&#8217;s definitely fun to play with (any program that features real-time physics just fascinates me). I made a quick demo to show you how it&#8217;s done.</p>
<p/>
<div class="wp-caption alignnone" style="width: 460px"><a href="http://www.patrickmatte.com/stuff/physicsLiquid/" target="_blank" title="Clickto open SWF"><img src="http://www.patrickmatte.com/stuff/physicsLiquid/image.jpg" alt="Click to open SWF" /></a><p class="wp-caption-text">Click to open SWF</p></div></p>
<p/>
I quickly looked at some <a href="http://geekglue.blogspot.com/2008/01/actionscript-2d-physics-engines.html" target="_blank">reviews</a> to make my choice on the physics engine i would use and <a href="http://www.cove.org/ape/" target="_blank">APE</a> seemed to be the simplest one. It was pretty simple indeed as i was able to put up my original demo in a single day. It was a little tricky to create the physics bottle that would hold the particles. The easiest way i found was to put movieclips on stage in the shape of the bottle and loop through each pieces and create a corresponding APE RectangleParticule. The tricky part is that when you rotate a movieclip in flash, the height and width of the clip changes, so i had to nest a movieclip within to be able to read the correct height and width of the particle.</p>
<p/>
<a href="http://www.patrickmatte.com/stuff/physicsLiquid/flash.zip">Download the source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.patrickmatte.com/index.php/2009/06/16/simulating-liquid-with-a-physics-engine-in-actionscript-3/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

