<?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>Recursive FlowGame Of Life &#187; Recursive Flow</title>
	<atom:link href="http://www.recursiveflow.com/tag/game-of-life/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.recursiveflow.com</link>
	<description>exploring interactive technology</description>
	<lastBuildDate>Tue, 22 Mar 2011 21:33:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Pixel Bender, Flash Camp and the Game of Life</title>
		<link>http://www.recursiveflow.com/2008/11/pixel-bender-game-of-life/</link>
		<comments>http://www.recursiveflow.com/2008/11/pixel-bender-game-of-life/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 18:09:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[FlashCamp]]></category>
		<category><![CDATA[Game Of Life]]></category>
		<category><![CDATA[Pixelbender]]></category>

		<guid isPermaLink="false">http://www.recursiveflow.com/?p=144</guid>
		<description><![CDATA[Having arrived in SF for a few months, I split my first weekend between O'Reillys esteemed Irish Bar and the FlashCamp over at Adobe Town Hall. In possession of a fresh promo copy of Flash CS4, myself and Pi Bot decided to get acquainted with the Pixel Bender Toolkit. Rubbish editor aside, the general flow [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.recursiveflow.com/life/"><img src="http://www.recursiveflow.com/wp-content/uploads/2008/11/Picture-7.png" alt="We are a strange loop" title="We are a strange loop" width="719" height="449" class="aligncenter size-full wp-image-252" /></a></p>
<p>Having arrived in SF for a few months, I split my first weekend between O'Reillys esteemed Irish Bar and the FlashCamp over at Adobe Town Hall.  In possession of a fresh promo copy of Flash CS4, myself and Pi Bot decided to get acquainted with the Pixel Bender Toolkit.</p>
<p><img class="size-full" title="FlashCamp 08" src="/wp-content/images/flashcamp.jpg" alt="Pi Bot plays with Pixel Bender at FlashCamp" width="720" height="450" /></p>
<p>Rubbish editor aside, the general flow of writing Pixel Bender kernels comes easily.  At heart, you're writing a blob of C code that gets fired once for every pixel in your destination image.  Having fathomed that my code would be evaluating every pixel in turn, it occurred to me a nice introductory exercise might be to build a cellular automaton. This in mind, I decided to tip my hat to <a title="Will Wright and Brian Eno talk generative systems" href="http://www.youtube.com/watch?v=UqzVSvqXJYg" target="_blank">Wright and Eno</a> have a crack at the good old <a href="http://en.wikipedia.org/wiki/Conway's_Game_of_Life">Game of Life</a>.</p>
<p>Aside from learning how to plumb in kernels to AS3 projects using an  directive, this challenge was over very quickly. An internet search revealed that someone else had <a title="gol" href="http://life.neophi.com/danielr/2008/09/pixel_bender_and_conways_game.html" target="_blank">got there first</a>. Hump.</p>
<p><img class="size-full" title="O'Reillys 08" src="/wp-content/images/oreillys.jpg" alt="O'Reillys" width="720" height="450" /></p>
<p>Inspiration came a little later whilst catching up with Paul and the gang over corned beef quesadillas at O'Reilly's.  What if the simulation ran backwards so that the cells converged in a fixed pattern?  Sunday never provided enough time to find out, but subsequent twiddling with pre-generation to a bitmap cache produced <a href="http://www.recursiveflow.com/life/">a masked image rotator type thing, complete with elliptical Hofstadter references</a>.  Not everyone's pint of Guinness, but kept me amused all the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.recursiveflow.com/2008/11/pixel-bender-game-of-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

