<?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>lab.joelGillman.com &#187; processing</title>
	<atom:link href="http://lab.joelgillman.com/archives/tag/processing/feed" rel="self" type="application/rss+xml" />
	<link>http://lab.joelgillman.com</link>
	<description>Sketches, Code Bites and Toys</description>
	<lastBuildDate>Thu, 05 Nov 2009 23:19:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pseudo Work (fwork)</title>
		<link>http://lab.joelgillman.com/archives/159_pseudo-work</link>
		<comments>http://lab.joelgillman.com/archives/159_pseudo-work#comments</comments>
		<pubDate>Thu, 05 Nov 2009 22:16:30 +0000</pubDate>
		<dc:creator>joel gillman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[source control]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://lab.joelgillman.com/?p=159</guid>
		<description><![CDATA[This script takes a text file (any text file should) and displays it one line at a time with short delays in between.  In other words, you can run this script to make it look like your computer is actually doing something worthwhile.
I had searched around the internet a few times but never really [...]]]></description>
			<content:encoded><![CDATA[<p>This script takes a text file (any text file should) and displays it one line at a time with short delays in between.  In other words, you can run this script to make it <em>look</em> like your computer is actually doing something worthwhile.</p>
<p>I had searched around the internet a few times but never really found anything like this, but that doesn&#8217;t mean it doesn&#8217;t look.  Maybe I&#8217;m just a bad internet searcher.  <a href="http://lab.joelgillman.com/archives/159_pseudo-work">Script after the jump</a>. <span id="more-159"></span></p>
<p><br/></p>
<div class="codecolorer-container bash " style="overflow:auto;white-space:nowrap;width:435px"><div class="bash codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="co0">#!/bin/bash</span><br />
<br />
<span class="co0">#####################################################</span><br />
<span class="co0"># Pseudo Work (fwork) Script - by Joel Gillman 2009</span><br />
<span class="co0"># lab.joelgillman.com/archives/159_pseudo-work</span><br />
<span class="co0"># </span><br />
<span class="co0"># Please feel free to edit and change this as you</span><br />
<span class="co0"># &nbsp;like! If &nbsp;you do make any edits I would be curious</span><br />
<span class="co0"># &nbsp;to see what you've done so drop me a line!</span><br />
<span class="co0"># </span><br />
<span class="co0"># DISCLAIMER</span><br />
<span class="co0"># I am in no way a bash scripting expert. Most of what</span><br />
<span class="co0"># &nbsp;I write is copy and paste and trial and error.</span><br />
<span class="co0"># &nbsp;While this script shouldn't hurt anything in your</span><br />
<span class="co0"># &nbsp;system don't hold me responsible if it does! Use</span><br />
<span class="co0"># &nbsp;at your own risk.</span><br />
<span class="co0">#####################################################</span><br />
<br />
<br />
<span class="co0">## test if file (default or otherwise)</span><br />
<span class="kw1">if</span> <span class="br0">&#91;</span> <span class="st0">&quot;$1&quot;</span> = <span class="st_h">''</span> <span class="br0">&#93;</span>; <span class="kw1">then</span><br />
&nbsp; &nbsp; <span class="re2">filename</span>=<span class="st0">&quot;<span class="es2">$HOME</span>/garbage.txt&quot;</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span> <span class="re5">-e</span> <span class="re1">$filename</span> <span class="br0">&#93;</span>; <span class="kw1">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">sleep</span> <span class="nu0">0</span><br />
&nbsp; &nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;No file specified and default file '~/garbage.txt' not found.&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">exit</span><br />
&nbsp; &nbsp; <span class="kw1">fi</span><br />
<span class="kw1">elif</span> <span class="br0">&#91;</span> <span class="re5">-e</span> $<span class="nu0">1</span> <span class="br0">&#93;</span>; <span class="kw1">then</span><br />
&nbsp; &nbsp; <span class="re2">filename</span>=$<span class="nu0">1</span><br />
<span class="kw1">else</span><br />
&nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;No file found at $1&quot;</span><br />
&nbsp; &nbsp; <span class="kw3">exit</span><br />
<span class="kw1">fi</span><br />
<br />
<span class="co0">## execute fakeness</span><br />
<span class="kw1">while</span> <span class="kw2">read</span> p; <span class="kw1">do</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span> <span class="st0">&quot;<span class="es4">$(($RANDOM % 10)</span>)&quot;</span> <span class="re5">-eq</span> <span class="nu0">1</span> <span class="br0">&#93;</span>; <span class="kw1">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">let</span> <span class="st0">&quot;R1 = (<span class="es2">$RANDOM</span> % 2)&quot;</span><br />
&nbsp; &nbsp; <span class="kw1">elif</span> <span class="br0">&#91;</span> <span class="st0">&quot;<span class="es4">$(($RANDOM % 50)</span>)&quot;</span> <span class="re5">-eq</span> <span class="nu0">1</span> <span class="br0">&#93;</span>; <span class="kw1">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">let</span> <span class="st0">&quot;R1 = (<span class="es2">$RANDOM</span> % 20)&quot;</span><br />
&nbsp; &nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">let</span> <span class="st0">&quot;R1 = 0&quot;</span><br />
&nbsp; &nbsp; <span class="kw1">fi</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw3">let</span> <span class="st0">&quot;R2 = (<span class="es2">$RANDOM</span> % 10)&quot;</span><br />
&nbsp; &nbsp; <span class="kw3">echo</span> <span class="re1">$p</span><br />
&nbsp; &nbsp; <span class="kw2">sleep</span> <span class="re1">$R1</span>.<span class="re1">$R2</span><br />
<span class="kw1">done</span> <span class="sy0">&lt;</span> <span class="re1">$filename</span></div></div>
<p><a href="http://lab.joelgillman.com/thepress/wp-content/uploads/2009/11/fwork.zip">Download a zip&#8217;d version of the script</a>.<br />
You can <a href="http://lab.joelgillman.com/thepress/wp-content/uploads/2009/11/garbage.txt">download the (2.5MB) text file</a> I&#8217;ve been using.</p>
<p>Let me know what you think!  Any improvements or suggestions would be greatly appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.joelgillman.com/archives/159_pseudo-work/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Map Function</title>
		<link>http://lab.joelgillman.com/archives/87_map-function</link>
		<comments>http://lab.joelgillman.com/archives/87_map-function#comments</comments>
		<pubDate>Mon, 29 Sep 2008 22:39:41 +0000</pubDate>
		<dc:creator>joel gillman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[normalize]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://lab.joelgillman.com/?p=87</guid>
		<description><![CDATA[If you&#8217;ve ever used Processing you&#8217;ve probably used the &#8216;map&#8217; function.  From the Processing Reference section it reads: &#8220;Re-maps a number from one range to another.&#8221;
Unfortunately the function doesn&#8217;t exist in Flash, so I rewrote it.  Why is this function useful?  Lets say your mouse can move within the bounds of your [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever used <a href="http://www.processing.org/">Processing</a> you&#8217;ve probably used the &#8216;map&#8217; function.  From the Processing Reference section it <a href="http://processing.org/reference/map_.html">reads</a>: &#8220;Re-maps a number from one range to another.&#8221;</p>
<p><span id="more-87"></span>Unfortunately the function doesn&#8217;t exist in Flash, so I rewrote it.  Why is this function useful?  Lets say your mouse can move within the bounds of your stage from 0 to 550 pixels along its x-axis.  You want a box to move back and forth from 100 to 200 pixels according to the position of the mouse.  So when your mouse is halfway across the stage your box should be halfway between 100 and 200 pixels.  You would simply use:</p>
<div class="codecolorer-container actionscript3 " style="overflow:auto;white-space:nowrap;width:435px"><div class="actionscript3 codecolorer" style="font-family:Monaco,Lucida Console,monospace">myBox.<span class="kw7">x</span> = <span class="kw7">map</span><span class="br0">&#40;</span><span class="kw7">mouseX</span>, <span class="nu0">0</span>, <span class="nu0">550</span>, <span class="nu0">100</span>, <span class="nu0">200</span><span class="br0">&#41;</span>;</div></div>
<p>Easy as that!</p>
<p>Usage:<br />
map(value, low1, high1, low2, high2);<br />
<em>low2 and high2 default to 0 and 1, respectively so you don&#8217;t have to put them in if you just want to normalize your value.</em></p>
<div class="codecolorer-container actionscript3 " style="overflow:auto;white-space:nowrap;width:435px"><div class="actionscript3 codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="kw3">function</span> <span class="kw7">map</span><span class="br0">&#40;</span><span class="kw7">value</span><span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;low1<span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;high1<span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;low2<span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a> = <span class="nu0">0</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;high2<span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a> = <span class="nu0">1</span><span class="br0">&#41;</span><span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="co1">//if the value and the 1st range low are equal to</span><br />
&nbsp; &nbsp; <span class="co1">// the new value must be low2</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw7">value</span> == low1<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> low2;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="co1">//normalize both sets to a 0-? range</span><br />
&nbsp; &nbsp; <span class="kw2">var</span> range1 = high1 <span class="sy0">-</span> low1;<br />
&nbsp; &nbsp; <span class="kw2">var</span> range2 = high2 <span class="sy0">-</span> low2;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="co1">//normalize the value to the new normalized range</span><br />
&nbsp; &nbsp; <span class="kw2">var</span> result = <span class="kw7">value</span> <span class="sy0">-</span> low1;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="co1">//define the range as a percentage (0.0 to 1.0)</span><br />
&nbsp; &nbsp; <span class="kw2">var</span> ratio = result <span class="sy0">/</span> range1;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="co1">//find the value in the new normalized-range</span><br />
&nbsp; &nbsp; result = ratio <span class="sy0">*</span> range2;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="co1">//un-normalize the value in the new range</span><br />
&nbsp; &nbsp; result <span class="sy0">+</span>= low2;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw1">return</span> result;<br />
<span class="br0">&#125;</span></div></div>
<p>And super compressed (less readable, less space, works the same):</p>
<div class="codecolorer-container actionscript3 " style="overflow:auto;white-space:nowrap;width:435px"><div class="actionscript3 codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="kw3">function</span> <span class="kw7">map</span><span class="br0">&#40;</span>v<span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>, a<span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>, <span class="kw7">b</span><span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>, <span class="kw7">x</span><span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a> = <span class="nu0">0</span>, <span class="kw7">y</span><span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a> = <span class="nu0">1</span><span class="br0">&#41;</span><span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">return</span> <span class="br0">&#40;</span>v == a<span class="br0">&#41;</span> <span class="sy0">?</span> <span class="kw7">x</span> <span class="sy0">:</span> <span class="br0">&#40;</span>v <span class="sy0">-</span> a<span class="br0">&#41;</span> <span class="sy0">*</span> <span class="br0">&#40;</span><span class="kw7">y</span> <span class="sy0">-</span> <span class="kw7">x</span><span class="br0">&#41;</span> <span class="sy0">/</span> <span class="br0">&#40;</span><span class="kw7">b</span> <span class="sy0">-</span> a<span class="br0">&#41;</span> <span class="sy0">+</span> <span class="kw7">x</span>;<br />
<span class="br0">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://lab.joelgillman.com/archives/87_map-function/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Emitters</title>
		<link>http://lab.joelgillman.com/archives/28_emitters</link>
		<comments>http://lab.joelgillman.com/archives/28_emitters#comments</comments>
		<pubDate>Fri, 07 Mar 2008 07:48:49 +0000</pubDate>
		<dc:creator>joel gillman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[emitter]]></category>
		<category><![CDATA[particles]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[star field]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[Vimeo]]></category>

		<guid isPermaLink="false">http://lab.joelgillman.com/archives/28_emitters</guid>
		<description><![CDATA[For a project I needed to learn how to make an emitter (for particles).  Specifically and emitter object that can be called several times so that there can be several unique emitters.  I have made something similar before but it works more efficiently now.  Videos only.
Mouse Emitter from Joel Gillman on Vimeo.
Emitter [...]]]></description>
			<content:encoded><![CDATA[<p>For a project I needed to learn how to make an emitter (for particles).  Specifically and emitter object that can be called several times so that there can be several unique emitters.  I have made <a href="http://lab.joelgillman.com/archives/15_spawn-object">something</a> similar before but it works more efficiently now.  Videos only.<span id="more-28"></span></p>
<p><object type="application/x-shockwave-flash" width="500" height="333" data="http://www.vimeo.com/moogaloop.swf?clip_id=755681&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff333d"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=755681&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff333d" /></object><br /><a href="http://www.vimeo.com/755681/l:embed_755681">Mouse Emitter</a> from <a href="http://www.vimeo.com/jgillman/l:embed_755681">Joel Gillman</a> on <a href="http://vimeo.com/l:embed_755681">Vimeo</a>.</p>
<p><object type="application/x-shockwave-flash" width="500" height="333" data="http://www.vimeo.com/moogaloop.swf?clip_id=760824&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff333d"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=760824&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff333d" /></object><br /><a href="http://www.vimeo.com/760824/l:embed_760824">Emitter &#8211; Star Field</a> from <a href="http://www.vimeo.com/jgillman/l:embed_760824">Joel Gillman</a> on <a href="http://vimeo.com/l:embed_760824">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.joelgillman.com/archives/28_emitters/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Chess Clock</title>
		<link>http://lab.joelgillman.com/archives/27_chess-clock</link>
		<comments>http://lab.joelgillman.com/archives/27_chess-clock#comments</comments>
		<pubDate>Sun, 02 Mar 2008 21:43:28 +0000</pubDate>
		<dc:creator>joel gillman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Chess]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[modes]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[program]]></category>

		<guid isPermaLink="false">http://lab.joelgillman.com/archives/27_chess-clock</guid>
		<description><![CDATA[A friend and I have been playing Chess recently (neither of us are very good) and we decided we could use a chess clock to make the games faster and more stressful.  We decided to make a game of it and see who could program a rudimentary (but working) chess clock.  Here&#8217;s mine.
10 [...]]]></description>
			<content:encoded><![CDATA[<p>A friend and I have been playing Chess recently (neither of us are very good) and we decided we could use a chess clock to make the games faster and more stressful.  We decided to make a game of it and see who could program a rudimentary (but working) chess clock.  Here&#8217;s mine.<span id="more-27"></span></p>
<p><em>10 minutes per player is the default.<br />
&#8216;r&#8217; to reset<br />
&#8217;space&#8217; to switch players<br />
&#8216;p&#8217; to pause</em><br />
<applet class="span-12" code="ClockCounter" archive="http://lab.joelgillman.com/thepress/wp-content/uploads/2008/03/clockcounter.jar" width="400" height="200"></applet></p>
<p><a href="http://lab.joelgillman.com/thepress/wp-content/uploads/2008/03/clockcounter.pde">Source 1</a> <a href="http://lab.joelgillman.com/thepress/wp-content/uploads/2008/03/draw_clock.pde">2</a> and <a href="http://lab.joelgillman.com/thepress/wp-content/uploads/2008/03/chess_keyboard.pde">3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.joelgillman.com/archives/27_chess-clock/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Circle Crawlers</title>
		<link>http://lab.joelgillman.com/archives/19_circle-crawlers</link>
		<comments>http://lab.joelgillman.com/archives/19_circle-crawlers#comments</comments>
		<pubDate>Fri, 08 Feb 2008 22:59:43 +0000</pubDate>
		<dc:creator>joel gillman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[object oriented]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://lab.joelgillman.com/archives/19_circle-crawlers</guid>
		<description><![CDATA[Circle Crawlers spawns a large number of &#8216;crawlers&#8217; and a smaller number of &#8216;anomalies&#8217; who each crawl around the screen randomly.  The large anomalies move slow and thus never get too far away from the center.  The smaller crawlers can move faster and can break away from the center but always die before [...]]]></description>
			<content:encoded><![CDATA[<p>Circle Crawlers spawns a large number of &#8216;crawlers&#8217; and a smaller number of &#8216;anomalies&#8217; who each crawl around the screen randomly.  The large anomalies move slow and thus never get too far away from the center.  The smaller crawlers can move faster and can break away from the center but always die before they get too far out from their point of origin.<span id="more-19"></span></p>
<p><em>Press &#8216;r&#8217; to reset.</em><br />
<applet class="span-12" code="crawler03" archive="http://lab.joelgillman.com/thepress/wp-content/uploads/2008/02/cirlclecrawlers.jar" width="470" height="470"></applet></p>
<p><a href="http://lab.joelgillman.com/thepress/wp-content/uploads/2008/02/cirlclecrawlers.pde">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.joelgillman.com/archives/19_circle-crawlers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spawn Object</title>
		<link>http://lab.joelgillman.com/archives/15_spawn-object</link>
		<comments>http://lab.joelgillman.com/archives/15_spawn-object#comments</comments>
		<pubDate>Wed, 30 Jan 2008 06:06:07 +0000</pubDate>
		<dc:creator>joel gillman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[modes]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://lab.joelgillman.com/archives/15_spawn-object</guid>
		<description><![CDATA[I was learning how to properly use objects and classes.  Here there is a base class &#8220;Bug&#8221; and a class to extend it called &#8220;Crawler.&#8221;  Class Bug is never directly called, I had planned on using it in the future, but never did.  Also, I figured out how to use fonts for [...]]]></description>
			<content:encoded><![CDATA[<p>I was learning how to properly use objects and classes.  Here there is a base class &#8220;Bug&#8221; and a class to extend it called &#8220;Crawler.&#8221;  Class Bug is never directly called, I had planned on using it in the future, but never did.  Also, I figured out how to use fonts for text in Processing.<span id="more-15"></span><br />
<applet class="span-12" code="spawn_object3" archive="/thepress/wp-content/uploads/2008/01/spawn_object3.jar" width="470" height="470"></applet></p>
<p><a href="/thepress/wp-content/uploads/2008/01/spawn_object3.pde">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.joelgillman.com/archives/15_spawn-object/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Playground</title>
		<link>http://lab.joelgillman.com/archives/12_playground</link>
		<comments>http://lab.joelgillman.com/archives/12_playground#comments</comments>
		<pubDate>Fri, 25 Jan 2008 22:10:48 +0000</pubDate>
		<dc:creator>joel gillman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://lab.joelgillman.com/archives/12_playground</guid>
		<description><![CDATA[A simple Processing program where a bunch of circles are drawn around the mouse.

Source
]]></description>
			<content:encoded><![CDATA[<p>A simple Processing program where a bunch of circles are drawn around the mouse.<span id="more-12"></span><br />
<applet class="span-12" code="playground" archive="http://lab.joelgillman.com/thepress/wp-content/uploads/2008/01/playgrounder.jar" width="470" height="470"></applet></p>
<p><a href="http://lab.joelgillman.com/thepress/wp-content/uploads/2008/01/playground.pde">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.joelgillman.com/archives/12_playground/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
