<?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"
	>

<channel>
	<title>freakbone</title>
	<atom:link href="http://www.freakbone.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freakbone.com</link>
	<description>a flash blog</description>
	<pubDate>Sat, 17 Jan 2009 10:36:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Algorithmic Recursive Lightning</title>
		<link>http://www.freakbone.com/2008/09/algorithmic-recursive-lightning/</link>
		<comments>http://www.freakbone.com/2008/09/algorithmic-recursive-lightning/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 20:52:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Effects]]></category>

		<category><![CDATA[Flash Demos]]></category>

		<guid isPermaLink="false">http://www.freakbone.com/?p=84</guid>
		<description><![CDATA[This makes more of a cartoony than a realistic lightning, but I like it.

]]></description>
			<content:encoded><![CDATA[<p>This makes more of a cartoony than a realistic lightning, but I like it.<br />
<embed src="http://www.freakbone.com/flash/lightning_02.swf" quality="high" bgcolor="#cccccc" width="500" height="400" name="lightning_02" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freakbone.com/2008/09/algorithmic-recursive-lightning/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A Better Ripple Effect. Now with source code!</title>
		<link>http://www.freakbone.com/2008/09/a-better-ripple-effect/</link>
		<comments>http://www.freakbone.com/2008/09/a-better-ripple-effect/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 17:21:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Effects]]></category>

		<category><![CDATA[Flash Demos]]></category>

		<guid isPermaLink="false">http://www.freakbone.com/?p=76</guid>
		<description><![CDATA[
I wanted to make a ripple effect that distorted the image more realistically. The trick is coming up with the right displacement map. In the displacement map, one color channel controls x-axis displacement and another controls y-axis displacement. Here is an example of what I came up with. This is generated algorithmically.
 
Download the source [...]]]></description>
			<content:encoded><![CDATA[<p><embed src="http://www.freakbone.com/flash/FlashRippler.swf" quality="high" bgcolor="#cccccc" width="500" height="400" name="ripple_01" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></p>
<p>I wanted to make a ripple effect that distorted the image more realistically. The trick is coming up with the right displacement map. In the displacement map, one color channel controls x-axis displacement and another controls y-axis displacement. Here is an example of what I came up with. This is generated algorithmically.<br />
 <img src="http://www.freakbone.com/images/displacementMap.jpg" alt="Displacement Map" /></p>
<p>Download the <a href="http://www.freakbone.com/source/RippleEffect.zip" onclick="javascript:pageTracker._trackPageview('/downloads/source/RippleEffect.zip');">source code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freakbone.com/2008/09/a-better-ripple-effect/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pixelate Effect</title>
		<link>http://www.freakbone.com/2008/09/pixelate-effect/</link>
		<comments>http://www.freakbone.com/2008/09/pixelate-effect/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 06:08:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Effects]]></category>

		<category><![CDATA[Flash Demos]]></category>

		<guid isPermaLink="false">http://www.freakbone.com/?p=57</guid>
		<description><![CDATA[
Here&#8217;s a pretty standard Pixelate Effect made with ActionScript 3. It averages the colors of progressive sizes of squares and than draws the average using fillRect. The trick is each channel must be averaged separately before they are combined back together.
]]></description>
			<content:encoded><![CDATA[<div style="float: right;  margin-left: 20px;  margin-bottom: 20px;" ><embed src="http://www.freakbone.com/flash/pixelate_02.swf" quality="high" bgcolor="#cccccc" width="200" height="300" name="pixelate_02" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></div>
<p>Here&#8217;s a pretty standard Pixelate Effect made with ActionScript 3. It averages the colors of progressive sizes of squares and than draws the average using fillRect. The trick is each channel must be averaged separately before they are combined back together.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freakbone.com/2008/09/pixelate-effect/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Maze Generator and Solver</title>
		<link>http://www.freakbone.com/2008/08/maze-generator-and-solver-with-source/</link>
		<comments>http://www.freakbone.com/2008/08/maze-generator-and-solver-with-source/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 03:03:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Flash Demos]]></category>

		<guid isPermaLink="false">http://www.freakbone.com/?p=21</guid>
		<description><![CDATA[

This particular algorithm generates a random maze where there is a unique path between any 2 cells.
Each cell is defined with a 4 bit integer, representing the 4 walls. A fifth bit defines whether a cell has been &#8220;visited&#8221; or not. Currently there is some redundancy in that each shared wall is defined twice - [...]]]></description>
			<content:encoded><![CDATA[<p><center><embed src="http://www.freakbone.com/flash/mazeDemo_02.swf" quality="high" bgcolor="#cccccc" width="600" height="400" name="mazeDemo_02" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></center><br />
<br clear = "all"/></p>
<p>This particular algorithm generates a random maze where there is a unique path between any 2 cells.<br />
Each cell is defined with a 4 bit integer, representing the 4 walls. A fifth bit defines whether a cell has been &#8220;visited&#8221; or not. Currently there is some redundancy in that each shared wall is defined twice - once in each cell.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freakbone.com/2008/08/maze-generator-and-solver-with-source/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SetPixel Particle System Demo</title>
		<link>http://www.freakbone.com/2008/08/setpixel-particle-system-demo/</link>
		<comments>http://www.freakbone.com/2008/08/setpixel-particle-system-demo/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 10:27:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Effects]]></category>

		<category><![CDATA[Flash Demos]]></category>

		<guid isPermaLink="false">http://freakbone.com/?p=3</guid>
		<description><![CDATA[This is a Demonstration of an AS 3.0 Particle System I am working on. Click/Drag to move the emitter.



One of the ways performance is optimized is by the use of a memory pool for all the particle objects. The emitter object determines how many particles will be on screen at any time and pre-allocates the [...]]]></description>
			<content:encoded><![CDATA[<p>This is a Demonstration of an AS 3.0 Particle System I am working on. Click/Drag to move the emitter.<br />
<center><embed src="http://www.freakbone.com/flash/pixelDemo_05.swf" quality="high" bgcolor="#cccccc" width="600" height="400" name="pixelDemo_05" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></center><br />
<br clear = "all"/></p>
<p>
One of the ways performance is optimized is by the use of a memory pool for all the particle objects. The emitter object determines how many particles will be on screen at any time and pre-allocates the memory needed.  All the particle objects are created and stored in a queue to be used and recycled by the emitter.  I used the Arrayed Queue class developed by Michael Baczynski over at <a href="http://lab.polygonal.de/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://lab.polygonal.de/');">Polygonal Labs</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freakbone.com/2008/08/setpixel-particle-system-demo/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
