<?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>Ryan Phelan</title>
	<atom:link href="http://www.rphelan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rphelan.com</link>
	<description>Exploring Flex, Design, and Visualization</description>
	<lastBuildDate>Thu, 12 Aug 2010 14:56:14 +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>360&#124;Flex Indy Slides</title>
		<link>http://www.rphelan.com/2009/05/21/360flex-indy-slides/</link>
		<comments>http://www.rphelan.com/2009/05/21/360flex-indy-slides/#comments</comments>
		<pubDate>Fri, 22 May 2009 05:45:43 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Pixel Bender]]></category>
		<category><![CDATA[360Flex]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=280</guid>
		<description><![CDATA[The slides from my presentation on Pixel Bender at 360&#124;Flex Indianapolis are available here.  Thanks to those who attended, and thanks to Tom and John for putting on another great conference. I'm not a big fan of just zipping up all my source files and tossing out a download link because without some context, sample [...]]]></description>
			<content:encoded><![CDATA[<p>The slides from my presentation on Pixel Bender at 360|Flex Indianapolis are available <a href="http://www.rphelan.com/flex/RyanPhelan_PixelBender_360Flex.pdf">here</a>.  Thanks to those who attended, and thanks to Tom and John for putting on another great conference.</p>
<p><a href="http://www.rphelan.com/flex/RyanPhelan_PixelBender_360Flex.pdf"><img class="alignnone size-full wp-image-281" title="360|Flex Slides" src="http://www.rphelan.com/flex/uploads/2009/05/ryanphelan_pixelbender_360flex.png" alt="360|Flex Slides" width="400" height="225" /></a></p>
<p>I'm not a big fan of just zipping up all my source files and tossing out a download link because without some context, sample code isn't generally very useful.  Instead, I'll be doing several blog posts over the next few weeks with some detailed explanation to go with the code, so keep checking back.</p>
<p>If you have any questions about the material I presented, or just Pixel Bender or Flex in general, send them over.  I'd love to help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2009/05/21/360flex-indy-slides/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pixel Bender Blend Modes</title>
		<link>http://www.rphelan.com/2009/05/19/pixel-bender-blend-modes/</link>
		<comments>http://www.rphelan.com/2009/05/19/pixel-bender-blend-modes/#comments</comments>
		<pubDate>Tue, 19 May 2009 16:39:51 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Pixel Bender]]></category>
		<category><![CDATA[360Flex]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Effects]]></category>
		<category><![CDATA[Shaders]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=272</guid>
		<description><![CDATA[In preparation for my Pixel Bender talk at 360Flex I wanted to create an example which shows how to use Pixel Bender shaders as blend modes, so I went ahead and whipped together 20 blend shaders:  Darken, Multiply, Color Burn, Linear Burn, Lighten, Screen, Color Dodge, Linear Dodge (Additive), Overlay, Soft Light, Hard Light, Vivid [...]]]></description>
			<content:encoded><![CDATA[<p>In preparation for my Pixel Bender talk at 360Flex I wanted to create an example which shows how to use Pixel Bender shaders as blend modes, so I went ahead and whipped together 20 blend shaders:  Darken, Multiply, Color Burn, Linear Burn, Lighten, Screen, Color Dodge, Linear Dodge (Additive), Overlay, Soft Light, Hard Light, Vivid Light, Linear Light, Pin Light, Difference, Exclusion, Interpolation, Invert, Quadratic, and Subtract.</p>
<p>You'll notice there is some overlap with the set that are natively available in flash.display.BlendMode, but I thought it would be pretty educational to see how these shaders are written Pixel Bender.  I have yet to test to see if there is a significant performance difference.</p>
<p><a href="http://www.rphelan.com/flex/PBBlendModes/"><img class="alignnone size-full wp-image-273" title="Pixel Bender Blend Modes Preview" src="http://www.rphelan.com/flex/uploads/2009/05/pbblendmodes.png" alt="Pixel Bender Blend Modes Preview" width="485" height="263" /></a></p>
<p><a href="http://www.rphelan.com/flex/PBBlendModes/">Application</a> - <a href="http://www.rphelan.com/flex/PBBlendModes/srcview/index.html">Source</a></p>
<p>The formulas behind these blend modes were pretty easy to find.  I got them from a combination of <a href="http://www.pegtop.net/delphi/articles/blendmodes">http://www.pegtop.net/delphi/articles/blendmodes</a>, <a href="http://dunnbypaul.net/blends/">http://dunnbypaul.net/blends/</a>, wikipedia and the Flash docs.</p>
<p>One topic I wasn't able to find much documentation on was how to handle alpha channels for the various blend modes.  It gets complicated if both layers have transparency, and I'm not sure if there is a standardized way of computing the resulting alpha.  So for these examples the alpha is simply set to that of the input image.  This means that these blend modes work perfectly for opaque images, but vary from what you might see in photoshop when transparency is involved.  If anyone has any good resources on the topic or would like to contribute to this effort, let me know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2009/05/19/pixel-bender-blend-modes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Quickly Access Adobe Help Docs in Eclipse</title>
		<link>http://www.rphelan.com/2009/03/03/quickly-access-adobe-help-docs-in-eclipse/</link>
		<comments>http://www.rphelan.com/2009/03/03/quickly-access-adobe-help-docs-in-eclipse/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 23:34:32 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[Workflow]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Shortcuts]]></category>
		<category><![CDATA[Timesavers]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=263</guid>
		<description><![CDATA[I had someone ask me today about an easy way to open up a specific topic in the Adobe help docs when writing code in Eclipse.  The quickest method is to click on or select a class, property or method and press Shift+F2.  This will open up the docs in a new window. An alternative [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I had someone ask me today about an easy way to open up a specific topic in the Adobe help docs when writing code in Eclipse.  The quickest method is to click on or select a <em>class</em>, <em>property</em> or <em>method </em>and press Shift+F2.  This will open up the docs in a new window.</p>
<p style="text-align: left;">An alternative would be to click the "Show View as a fast view" icon in the lower left hand corner of the Eclipse window and choose "Help".  When the Help view pops up, make sure "Related Topics" is selected.  To hide a fast view, simply click anywhere outside of it.  Now, if you click on or select a <em>class</em>, <em>property</em> or <em>method </em>and then click the Help fast view - it will display a list of help topics that are related to your selection.  This approach may not be as quick or graceful as Shift+F2, but the advantage is that it offers links to related articles in addition to the regular as docs.</p>
<p style="text-align: left;"><em>See it in action:</em></p>
<p style="text-align: left;"><a href="http://www.rphelan.com/flex/uploads/2009/03/helpfastview.jpg"><img class="size-thumbnail wp-image-264 alignnone" title="Help - Fast View" src="http://www.rphelan.com/flex/uploads/2009/03/helpfastview-150x150.jpg" alt="Help - Fast View" width="150" height="150" /></a></p>
<p style="text-align: left;">Please keep in mind that these techniques will only give you the official Adobe documentation.  Your docs, and 3rd party library docs will not show up in the help view.</p>
<p style="text-align: left;">If anyone has any other fancy tricks, let us know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2009/03/03/quickly-access-adobe-help-docs-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>360&#124;Flex &#8211; Let&#8217;s Do This Thing</title>
		<link>http://www.rphelan.com/2009/02/03/360flex-lets-do-this-thing/</link>
		<comments>http://www.rphelan.com/2009/02/03/360flex-lets-do-this-thing/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 21:38:46 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[360Flex]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Pixel Bender]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=251</guid>
		<description><![CDATA[Tom and John have just completed the huge task of sorting through 130+ submissions and I am honored to have been chosen as a speaker at 360&#124;Flex Indiana. My session is called "Bending and Flexing" and will be all about using Pixel Bender and Flex. It's slated to be a 200 level talk so all [...]]]></description>
			<content:encoded><![CDATA[<dl id="attachment_252" class="wp-caption alignnone" style="width: 240px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-252 aligncenter alignnone" title="360|Flex Indianapolis" src="http://www.rphelan.com/flex/uploads/2009/02/360indylogo_2009.png" alt="360|Flex Indianapolis" width="230" height="149" /></dt>
</dl>
<p><br/></p>
<p>Tom and John have just completed the huge task of sorting through 130+ submissions and I am honored to have been chosen as a speaker at 360|Flex Indiana.  My session is called "Bending and Flexing" and will be all about using Pixel Bender and Flex.  It's slated to be a 200 level talk so all levels of Flex and Pixel Bender experience are welcome.  Here's the full description:</p>
<blockquote><p>Learn how to use Adobe’s Pixel Bender technology to trick out your applications with a limitless variety of effects and transitions.  Write pixel shaders with the Pixel Bender Toolkit and integrate them into Flex.  Bring your shaders to life using the Flex effects library and other popular tweening libraries.  Leverage Pixel Bender’s processing power for non-visual computations.  Discover the pros and cons of using Pixel Bender vs. traditional AS3 approaches.  Expect lots of demos and open source code to play with.</p></blockquote>
<p>Now that I'm committed to a topic I'm going to be putting together a lot more demos and tutorials, so keep an eye out on my blog for a sneak peek at some of the content.  Anybody want to make me a "Bending and Flexing" logo?  For a free t-shirt perhaps?</p>
<p>The full schedule can be found at <a href="http://360conferences.com/360flex/downloads/schedule.pdf">http://360conferences.com/360flex/downloads/schedule.pdf</a> and tickets are available at <a href="http://360flex.eventbrite.com">http://360flex.eventbrite.com</a>. Tickets are on a first come first served basis and are much cheaper if you buy early, so don't put it off until the last minute.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2009/02/03/360flex-lets-do-this-thing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vote For Sessions at 360&#124;Flex</title>
		<link>http://www.rphelan.com/2009/01/19/vote-for-sessions-at-360flex/</link>
		<comments>http://www.rphelan.com/2009/01/19/vote-for-sessions-at-360flex/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 23:02:43 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[360Flex]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=247</guid>
		<description><![CDATA[It's that time of year again when speakers are being chosen for the upcoming 360&#124;Flex in Indiana (May 18-20).  Because of an overwhelming number of submissions, John Wilker has put them up on a voting site so you can help decide which sessions you want to see.  How many other conferences let you do that? [...]]]></description>
			<content:encoded><![CDATA[<p>It's that time of year again when speakers are being chosen for the upcoming <a href="http://360conferences.com/360flex/">360|Flex</a> in Indiana (May 18-20).  Because of an overwhelming number of submissions, John Wilker has <a href="http://johnwilker.com/2009/01/i-need-help-with-the-360flex-schedule/">put them up on a voting site</a> so you can help decide which sessions you want to see.  How many other conferences let you do that?</p>
<p>I submitted two alternate sessions:  <a href="http://360flex.uservoice.com/pages/general/suggestions/104723-lighten-your-load-tips-and-tricks-for-asset-loading-and-ma">Lighten your Load – Tips and Tricks for Asset Loading and Management</a>, and <a href="http://360flex.uservoice.com/pages/general/suggestions/104724-bending-and-flexing-">Bending and Flexing</a>.  For some reason though, both of mine have been marked complete so they are closed for voting.  In any case, now is your chance to voice your oppinion, <a href="http://360flex.uservoice.com/pages/general/suggestions/filter/top?limit=150">just click this link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2009/01/19/vote-for-sessions-at-360flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m Back</title>
		<link>http://www.rphelan.com/2009/01/15/im-back/</link>
		<comments>http://www.rphelan.com/2009/01/15/im-back/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 15:03:34 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=244</guid>
		<description><![CDATA[So it's been a long time since I've posted.  Between work, the holidays, and buying my first house I've been super busy lately.  Starting with this post, I'm going to try to get back into my old rhythm again.  I've got some new components and experiments in the works, but for now I'll leave you [...]]]></description>
			<content:encoded><![CDATA[<p>So it's been a long time since I've posted.  Between work, the holidays, and buying my first house I've been super busy lately.  Starting with this post, I'm going to try to get back into my old rhythm again.  I've got some new components and experiments in the works, but for now I'll leave you with a little Flex Builder/Eclipse trick.</p>
<p><strong>The problem:</strong> You or a team member exported a Flex project archive, and now you want to import it back into your workspace but you are receiving the following message -  <code>A project with the same name already exists in your workspace. Rename or delete the existing project.</code> It's nice of Eclipse not to allow you to overwrite an existing project, but an option to import it with a different project name would be nice.</p>
<p><strong>The solution:</strong> Unzip your Flex project archive.  Open up the file called .project in a text editor (e.g. notepad).  Under &lt;projectDescription&gt; there should be an element called &lt;name&gt;.  Change this value to something unique within your workspace (appending a "2" usually does the trick).  Open Flex Builder and import the modified project.</p>
<p>Anyone know of a more automated solution?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2009/01/15/im-back/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cash For Your Mustache</title>
		<link>http://www.rphelan.com/2008/11/24/cash-for-your-mustache/</link>
		<comments>http://www.rphelan.com/2008/11/24/cash-for-your-mustache/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 21:46:14 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mustaches]]></category>
		<category><![CDATA[Phenomblue]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=237</guid>
		<description><![CDATA[What started out as a series of random modifications to our IM photos ended up turning into a 2 month contest of itchy endurance and personal humility. One day people started Photoshop’n beards and mustaches on their IM pictures. This of course led to a testosterone driven debate over who could grow the mightiest 'stache, [...]]]></description>
			<content:encoded><![CDATA[<p>What started out as a series of random modifications to our IM photos ended up turning into a 2 month contest of itchy endurance and personal humility. One day people started Photoshop’n beards and mustaches on their IM pictures. This of course led to a testosterone driven debate over who could grow the mightiest 'stache, and a competition was soon born. The rules are simple: grow as much facial hair as you can in two months and then craft the coolest mustache.  It turns out few of us Phenom guys have what it takes to compete <a href="http://www.worldbeardchampionships.com/">here</a>, but the results are pretty entertaining nonetheless.</p>
<p>As an R&amp;D project, one of our .NET guys created <a href="http://www.cashforyourmustache.com/" target="_blank">cashforyourmustache.com</a> using Silverlight.  Now the the general public can rate the progress of each individual’s growth.  This is the pinnacle of facial hair monitoring technology, the <strong>I</strong>nteractive <strong>T</strong>ransitional <strong>C</strong>ommunity <strong>H</strong>air <strong>E</strong>volving <strong>E</strong>ngine (aka the ITCHEE app). In mid December the final design will be posted of each person’s mustache. The winner of the contest will receive a cash prize along with all the bragging rights entitled therein.  Of course I can count on you - the readers of my blog to give me high ratings, right?</p>
<p><img class="size-full wp-image-238" title="cashforyourmustache.com" src="http://www.rphelan.com/flex/uploads/2008/11/mustache.jpg" alt="cashforyourmustache.com" width="400" height="214" /></p>
<p>Don't forget, you need the <a href="http://www.microsoft.com/silverlight/resources/install.aspx">Silverlight plugin</a> to view the site.</p>
<p><a href="http://www.cashforyourmustache.com/">http://www.cashforyourmustache.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2008/11/24/cash-for-your-mustache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BendPixels</title>
		<link>http://www.rphelan.com/2008/11/24/bendpixels/</link>
		<comments>http://www.rphelan.com/2008/11/24/bendpixels/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 15:04:02 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Pixel Bender]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Effects]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=235</guid>
		<description><![CDATA[BendPixels is a library by Mrinal Wadhwa which makes it possible to tween Pixel Bender filters using Flex's mx.effects library.  I finally got a chance to play with this and it really is pretty cool.  You can check out a demo here.  It is capable of tweening arbitrary shaders, and has wrappers for several popular [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/bendpixels/">BendPixels</a> is a library by Mrinal Wadhwa which makes it possible to tween Pixel Bender filters using Flex's mx.effects library.  I finally got a chance to play with this and it really is pretty cool.  You can check out a demo <a href="http://weblog.mrinalwadhwa.com/demos/BendPixelsExample/index.html">here</a>.  It is capable of tweening arbitrary shaders, and has wrappers for several popular effects from Adobe's <a href="http://www.adobe.com/cfusion/exchange/index.cfm?event=productHome&amp;exc=26&amp;loc=en_us">Pixel Bender Exchange</a>.  I am flattered that my very own Zoom Blur effect has been included.</p>
<p>My only criticism is that Flex effects in general tend to have lackluster performance.  I frequently use libraries like <a href="http://blog.greensock.com/tweenliteas3/">TweenLite</a> instead.  Can TweenLite play nicely with Pixel Bender effects?  Of course.  I'll do an example of that sometime this week.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2008/11/24/bendpixels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spotlight Pixel Bender Filter</title>
		<link>http://www.rphelan.com/2008/10/28/spotlight-pixel-bender-filter/</link>
		<comments>http://www.rphelan.com/2008/10/28/spotlight-pixel-bender-filter/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 15:18:53 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Pixel Bender]]></category>
		<category><![CDATA[Colored Lighting]]></category>
		<category><![CDATA[Effects]]></category>
		<category><![CDATA[Filters]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Lighting Effects]]></category>
		<category><![CDATA[Spotlight]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=219</guid>
		<description><![CDATA[This is an advanced filter which renders dynamic colored lighting on a display object in Flash.  Consider it a work in progress — It's not as full featured as Photoshop's "Lighting Effects" filter, but it is capable of creating a wide array of effects.  The kernel's main algorithm was ported from NVIDIA's Shader Library, but [...]]]></description>
			<content:encoded><![CDATA[<p>This is an advanced filter which renders dynamic colored lighting on a display object in Flash.  Consider it a work in progress — It's not as full featured as Photoshop's "Lighting Effects" filter, but it is capable of creating a wide array of effects.  The kernel's main algorithm was ported from <a href="http://developer.download.nvidia.com/shaderlibrary/webpages/shader_library.html">NVIDIA's Shader Library</a>, but I had to make some pretty heavy modifications to make it more functional for the Flash world.  It has 8 parameters:  ambientColor, angle, azimuth, coneAngle, distance, intensity, position, and spotColor.</p>
<ul>
<li>ambientColor - color to apply to all pixels of the image</li>
<li>angle - angle at which the spotlight is projected (in degrees)</li>
<li>azimuth - angle between the image plane and the spotlight (in degrees)</li>
<li>coneAngle - angle of the spotlight's "opening" (in degrees)</li>
<li>distance - distance from the spotlight to the center point</li>
<li>intensity - intensity of the spotlight</li>
<li>position - x, y, z position of the spotlight</li>
<li>spotColor - color of the spotlight</li>
</ul>
<p>There are so many different ways that you could use this effect, I will probably devote a few more posts to showing additional examples.  In this demo, I created a couple of draggable handles that you can use for positioning the spotlight, and some preset configurations (try the dawn, day, and dusk buttons).  Next time, I'll incorporate some animation.</p>
<p><a href="http://www.rphelan.com/flex/SpotlightDemo/SpotlightDemo.html">Application</a> - <a href="http://www.rphelan.com/flex/SpotlightDemo/srcview/index.html">Source</a></p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_SpotlightDemo_1006230958"
			class="flashmovie"
			width="420"
			height="600">
	<param name="movie" value="http://www.rphelan.com/flex/SpotlightDemo/SpotlightDemo.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.rphelan.com/flex/SpotlightDemo/SpotlightDemo.swf"
			name="fm_SpotlightDemo_1006230958"
			width="420"
			height="600">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2008/10/28/spotlight-pixel-bender-filter/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Magnify Pixel Bender Filter</title>
		<link>http://www.rphelan.com/2008/10/20/magnify-pixel-bender-filter/</link>
		<comments>http://www.rphelan.com/2008/10/20/magnify-pixel-bender-filter/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 14:27:01 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Pixel Bender]]></category>
		<category><![CDATA[Effects]]></category>
		<category><![CDATA[Filters]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Magnify]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=200</guid>
		<description><![CDATA[The "Magnify" effect is an age old Flash trick that we used to accomplish using two images and some clever masking.  This pixel shader can achieve the same effect with less code, only 1 image, and has a few new tricks up its sleeve.  It magnifies a circular section of an image and optionally creates [...]]]></description>
			<content:encoded><![CDATA[<p>The "Magnify" effect is an age old Flash trick that we used to accomplish using two images and some clever masking.  This pixel shader can achieve the same effect with less code, only 1 image, and has a few new tricks up its sleeve.  It magnifies a circular section of an image and optionally creates a smooth transition between the magnified and unmagnified areas.  The four parameters are center, outerRadius, innerRadius, and magnification.</p>
<ul>
<li>center ([0-2048, 0-2048]) - the center coordinates of the magnified area</li>
<li>outerRadius (0-500) - the radius of the magnified part of the image</li>
<li>innerRadius (0-500) - the radius of the <em>fully </em>magnified part of the image</li>
<li>magnification (1-50) - the amount to magnify the image by (e.g. set to 2 for a 2x magnification)</li>
</ul>
<p><em>Note that the ranges specified above are just the recommendations from the .pbk file, you can set these values to whatever you want in your application.</em></p>
<p>Take some time and play around with the settings, it is possible to acheive a several different effects.  If innerRadius is 0, it creates a "bubble".  If it is higher than outerRadius, then you get a hard edged circle.  In this demo, I disabled values between 0 and 1 for magnification because they can create some strange side effects, but if you are careful you can use fractional magnifications to create a "pinch" type effect.</p>
<p><a href="http://www.rphelan.com/flex/MagnifyDemo/MagnifyDemo.html">Application</a> - <a href="http://www.rphelan.com/flex/MagnifyDemo/srcview/index.html">Source</a></p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_MagnifyDemo_1621351277"
			class="flashmovie"
			width="450"
			height="475">
	<param name="movie" value="http://www.rphelan.com/flex/MagnifyDemo/MagnifyDemo.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.rphelan.com/flex/MagnifyDemo/MagnifyDemo.swf"
			name="fm_MagnifyDemo_1621351277"
			width="450"
			height="475">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2008/10/20/magnify-pixel-bender-filter/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
