<?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>Half Ninja</title>
	<atom:link href="http://www.halfninja.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.halfninja.co.uk</link>
	<description>Doodles, widgets and bits</description>
	<pubDate>Sat, 01 Nov 2008 16:47:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Gravity Balls</title>
		<link>http://www.halfninja.co.uk/2008/gravityballs/</link>
		<comments>http://www.halfninja.co.uk/2008/gravityballs/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 14:43:58 +0000</pubDate>
		<dc:creator>nick</dc:creator>
		
		<category><![CDATA[Animation]]></category>

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

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

		<guid isPermaLink="false">http://www.halfninja.co.uk/?p=9</guid>
		<description><![CDATA[Animated physics balls.]]></description>
			<content:encoded><![CDATA[<div class="bordered"><object width=400 height=240><br />
<param name=allowfullscreen value=true><br />
<param name=allowscriptaccess value=always><br />
<param name=movie value=http://vimeo.com/moogaloop.swf?clip_id=2123924&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=1 />	<embed src=http://vimeo.com/moogaloop.swf?clip_id=2123924&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=1 type=application/x-shockwave-flash allowfullscreen=true allowscriptaccess=always width=400 height=240></embed></object></div>
<p>The excellent <a href="http://www.processing.org/">Processing</a> tool is being constantly improved, and I downloaded it again recently to see what fun could be had. I had embedded the actual app here as a Java applet, but support for applets is pretty bad so I&#8217;ve replaced it with a video.</p>
<p>There&#8217;s not much to it, but it&#8217;s something you could built more interesting stuff on.</p>
<p>Because Processing apps are Java in disguise, you can link in pretty much any existing Java library. Here I made use of the superb <a title="Phys2D Java physics library" href="http://www.cokeandcode.com/phys2d/">Phys2D</a> library to simulate the falling.</p>
<p>Source code: <a href="http://www.halfninja.co.uk/media/gravityballs/Balls.pde">Balls</a> <a href="http://www.halfninja.co.uk/media/gravityballs/Helpers.pde">Helpers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.halfninja.co.uk/2008/gravityballs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Moustache</title>
		<link>http://www.halfninja.co.uk/2007/moustache/</link>
		<comments>http://www.halfninja.co.uk/2007/moustache/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 11:59:16 +0000</pubDate>
		<dc:creator>nick</dc:creator>
		
		<category><![CDATA[Animation]]></category>

		<guid isPermaLink="false">http://www.halfninja.co.uk/?p=7</guid>
		<description><![CDATA[Animated GIF of a moustache disappearing. Truly inspiring.]]></description>
			<content:encoded><![CDATA[<p>Over summer 2007 I grew a beard through a mixture of curiosity and laziness (not to mention, hair). Laziness got the better of me again when it became cumbersome to maintain and the novelty had worn away, so I shaved it off, but not without doing the <em>obligatory animation of moustache disappearing</em>. We&#8217;ve all done it.</p>
<p><img src="http://www.halfninja.co.uk/wp-content/uploads/2008/04/hello.gif" alt="Animation of a moustache growing and shrinking" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.halfninja.co.uk/2007/moustache/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Runceville</title>
		<link>http://www.halfninja.co.uk/2006/runceville/</link>
		<comments>http://www.halfninja.co.uk/2006/runceville/#comments</comments>
		<pubDate>Wed, 25 Oct 2006 11:27:59 +0000</pubDate>
		<dc:creator>nick</dc:creator>
		
		<category><![CDATA[Drawing]]></category>

		<guid isPermaLink="false">http://www.halfninja.co.uk/?p=5</guid>
		<description><![CDATA[Some pixel-art animated GIFs done for fun.
<img src="/media/critters/bounceblue.gif" class="clean">]]></description>
			<content:encoded><![CDATA[Some pixel-art animated GIFs done for fun.
<img src="/media/critters/bounceblue.gif" class="clean">]]></content:encoded>
			<wfw:commentRss>http://www.halfninja.co.uk/2006/runceville/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Shrubbery</title>
		<link>http://www.halfninja.co.uk/2005/shrubbery/</link>
		<comments>http://www.halfninja.co.uk/2005/shrubbery/#comments</comments>
		<pubDate>Sun, 10 Jul 2005 23:23:16 +0000</pubDate>
		<dc:creator>nick</dc:creator>
		
		<category><![CDATA[Code]]></category>

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

		<guid isPermaLink="false">http://www.halfninja.co.uk/?p=3</guid>
		<description><![CDATA[A first attempt at a Processing applet]]></description>
			<content:encoded><![CDATA[<div class="bordered" style="width: 300px; float:left; margin-right: 10px;">Click and drag to draw.<br />
Press <strong>Z</strong> to clear the canvas.<br />
<applet class=bordered code=nick_tree archive=nick_tree.jar width=300 height=600 codebase=http://www.nickhowes.co.uk/apples/shrubbery/></applet></div>
<p> One of my first attempts at making something interesting using <a title="Processing framework" href="http://www.processing.org/">Processing</a>; try dragging lines on the canvas area with your mouse to see it in action.</p>
<p>It&#8217;s a very simple interactive particle simulation, painting the path of dots which randomly spawn more dots, resulting in a branching effect. A coloured circle where particles die makes it look like some blossoming plant.</p>
<p>For those interested, you can see the <a href="http://www.nickhowes.co.uk/apples/shrubbery/nick_tree.pde">source code</a>. It&#8217;s not the best-formed code ever, but since it&#8217;s only the result of some bored hacking in a Computer Science department one fine day, I can forgive myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.halfninja.co.uk/2005/shrubbery/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
