<?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>Shide and Prame &#187; Java</title>
	<atom:link href="http://aidan.rfm.co.nz/blog/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://aidan.rfm.co.nz/blog</link>
	<description>Aidan&#039;s digital life</description>
	<lastBuildDate>Tue, 09 Aug 2011 04:52:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Pixel Lake</title>
		<link>http://aidan.rfm.co.nz/blog/2010/05/pixel-lake/</link>
		<comments>http://aidan.rfm.co.nz/blog/2010/05/pixel-lake/#comments</comments>
		<pubDate>Tue, 18 May 2010 01:50:33 +0000</pubDate>
		<dc:creator>aidan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://aidan.rfm.co.nz/blog/?p=131</guid>
		<description><![CDATA[Check out my first foray into Processing: a 2.5D mosaic experiment. Waaay faster as a standalone application (or run from within Processing). One thing that I really like is the way you can see the waves reflecting off the walls. Sure, this isn&#8217;t exactly the most spectacular example of emergent behaviour, but it&#8217;s certainly not [...]]]></description>
			<content:encoded><![CDATA[<p>Check out my first foray into <a href="http://www.processing.org">Processing</a>: a 2.5D mosaic experiment.<br />
<strong>Waaay</strong> faster as a standalone application (or run from within Processing).</p>
<p><img src="http://aidan.rfm.co.nz/blog/wp-content/uploads/PixelLake-ss.png" alt="PixelLake screenshot" /></p>
<p>One thing that I really like is the way you can see the waves reflecting off the walls. Sure, this isn&#8217;t exactly the most spectacular example of emergent behaviour, but it&#8217;s certainly not explicitly coded in. I think that&#8217;s pretty neat.</p>
<p><span id="more-131"></span></p>
<p>Don&#8217;t forget to play with keys 1,2,3,4,5, and all the other keys listed in the red help text. One unlisted function is that holding the shift key allows you to <em>press</em>, rather than lift the pixels.</p>
<p>For you nerds, yes, it&#8217;s a 2d array of elements connected to their neighbours by &#8220;springs&#8221;. Short story: each pixel accelerates toward the average of its neighbours.</p>
<div id="PixelLake_container" style="position:relative;left:-170px; border:15px solid black;width:800px;height:600px;background:black;"><!--[if !IE] --><object classid="java:PixelLake.class" type="application/x-java-applet" archive="http://aidan.rfm.co.nz/blog/wp-content/uploads/PixelLake.jar" width="800" height="600" standby="Loading Processing software..."><param name="archive" value="http://aidan.rfm.co.nz/blog/wp-content/uploads/PixelLake.jar"><param name="mayscript" value="true"><param name="scriptable" value="true"><param name="image" value="loading.gif"><param name="boxmessage" value="Loading Processing software..."><param name="boxbgcolor" value="#FFFFFF"><param name="test_string" value="outer"><!--[endif]--><object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0_15-windows-i586.cab" width="800" height="600" standby="Loading Processing software..."><param name="code" value="PixelLake"><param name="archive" value="http://aidan.rfm.co.nz/blog/wp-content/uploads/PixelLake.jar"><param name="mayscript" value="true"><param name="scriptable" value="true"><param name="image" value="loading.gif"><param name="boxmessage" value="Loading Processing software..."><param name="boxbgcolor" value="#FFFFFF"><param name="test_string" value="inner"><p><strong>This browser does not have a Java Plug-in.<br /><a href="http://java.sun.com/products/plugin/downloads/index.html" title="Download Java Plug-in">Get the latest Java Plug-in here.</a></strong></p>
<p></object> <!--[if !IE] --></object> <!--[endif]--></div>
<p>Application: <a href="http://aidan.rfm.co.nz/blog/wp-content/uploads/PixelLake-win.zip">Windows</a> | <a href="http://aidan.rfm.co.nz/blog/wp-content/uploads/PixelLake-mac.zip">OS X</a> | <a href="http://aidan.rfm.co.nz/blog/wp-content/uploads/PixelLake.pde">Processing Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aidan.rfm.co.nz/blog/2010/05/pixel-lake/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

