<?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>eriksmartt.com/blog &#187; art</title>
	<atom:link href="http://www.eriksmartt.com/blog/archives/tag/art/feed" rel="self" type="application/rss+xml" />
	<link>http://www.eriksmartt.com/blog</link>
	<description>my little chunk of bandwidth</description>
	<lastBuildDate>Thu, 30 Jun 2011 15:17:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19854</generator>
		<item>
		<title>Conway&#8217;s Game of Life in Nodebox</title>
		<link>http://www.eriksmartt.com/blog/archives/771</link>
		<comments>http://www.eriksmartt.com/blog/archives/771#comments</comments>
		<pubDate>Wed, 25 Feb 2009 17:31:05 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.eriksmartt.com/blog/?p=771</guid>
		<description><![CDATA[I was reading Ben Fry&#8216;s thesis, Organic Information Design yesterday, came across the section on Conway&#8217;s Game of Life, and thought it would make a nice NodeBox demo. Here it is: conway-life.py There&#8217;s not much to it, but it does show a software pattern I&#8217;ve been using frequently with NodeBox. Many of the NodeBox examples [...]]]></description>
			<content:encoded><![CDATA[<p>I was reading <a href="http://benfry.com/">Ben Fry</a>&#8216;s thesis, <a href="http://benfry.com/organic/">Organic Information Design</a> yesterday, came across the section on <a href="http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life">Conway&#8217;s Game of Life</a>, and thought it would make a nice <a href="http://nodebox.net/">NodeBox</a> demo.</p>
<p>Here it is: <a href="http://www.eriksmartt.com/blog/wp-content/uploads/2009/02/conway-life.py">conway-life.py</a></p>
<p><img src="http://www.eriksmartt.com/blog/wp-content/uploads/2009/02/conway-in-nodebox.jpg" width="500"  alt="Nodebox screenshot" /><br />
<br clear="all" /></p>
<p>There&#8217;s not much to it, but it does show a software pattern I&#8217;ve been using frequently with NodeBox.  Many of the NodeBox examples make heavy use of non-namespaced, global variables.  I suppose it makes simple code easy to read for those new to programming, but it&#8217;s a habit you&#8217;ll want to break before your code starts getting more complex.</p>
<p>What I&#8217;ve found helpful is to create a World/Universe/Controller/Stage object that drives the rendering.  Instead of using multiple globals in <code>draw()</code>, the controller object keeps the main parameters as local properties, and instantiates any needed objects in it&#8217;s <code>__init__()</code>.  This approach prevents global variables names from clashing, and allows for creative reuse of rendering components.</p>
<p>Enjoy!</p>]]></content:encoded>
			<wfw:commentRss>http://www.eriksmartt.com/blog/archives/771/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lily: Visual programming in JavaScript</title>
		<link>http://www.eriksmartt.com/blog/archives/416</link>
		<comments>http://www.eriksmartt.com/blog/archives/416#comments</comments>
		<pubDate>Wed, 23 Jan 2008 06:19:24 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hci]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.eriksmartt.com/blog/archives/416</guid>
		<description><![CDATA[I have an odd fascination with Visual Programming languages, and while I&#8217;ve gotten so far as sketching out some UI concepts and object models for a text-processing focused, web-mashing, visual programming environment, I&#8217;m a long way from having anything that works. Much to my surprise then when David Ascher dropped a link to the Lily [...]]]></description>
			<content:encoded><![CDATA[<p>I have an odd fascination with <a href="http://en.wikipedia.org/wiki/Visual_programming_language">Visual Programming</a> languages, and while I&#8217;ve gotten so far as sketching out some UI concepts and object models for a text-processing focused, web-mashing, visual programming environment, I&#8217;m a long way from having anything that works.  Much to my surprise then when <a href="http://ascher.ca/blog/">David Ascher</a> dropped a link to the <a href="http://www.lilyapp.org/">Lily</a> project on his blog today.  Holy cow this is sweet.  Think <a href="http://puredata.info/">PD</a> or Max/MSP written in JavaScript, running in a browser, with modules for popular Web API&#8217;s and JavaScript frameworks (ex., &#8220;Amazon, Flickr, Wikipedia, Yahoo; UI modules that wrap widgets from YUI, Scriptaculous, JQuery, Google Maps&#8230;.&#8221;)</p>
<p>Check out one of the <a href="http://blog.lilyapp.org/lily/demo/">demo&#8217;s</a> here:</p>
<p><a target="_blank" href="http://www.lilyapp.org/flickr-yui-lightbox.mov"><img width="450" src="http://blog.lilyapp.org/images/flickr.jpg"/></a></p>
<p>(Via: <a href="http://ascher.ca/blog/2008/01/22/lily-javascript-visual-programming-fun/">Lily: JavaScript, visual programming, fun</a>.)</p>]]></content:encoded>
			<wfw:commentRss>http://www.eriksmartt.com/blog/archives/416/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.lilyapp.org/flickr-yui-lightbox.mov" length="3437978" type="video/quicktime" />
		</item>
		<item>
		<title>Video: &#8220;Web 2.0&#8230; The Machine is Us/ing Us&#8221;</title>
		<link>http://www.eriksmartt.com/blog/archives/316</link>
		<comments>http://www.eriksmartt.com/blog/archives/316#comments</comments>
		<pubDate>Wed, 07 Feb 2007 20:03:33 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.eriksmartt.com/blog/archives/316</guid>
		<description><![CDATA[Here&#8217;s a great video on the evolution of the Web: [Direct link, for the feed readers.] (Via Gizmodo.)]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a great video on the evolution of the Web:</p>
<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/6gmP4nk0EOE"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/6gmP4nk0EOE" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></p>
<p>[<a href="http://www.youtube.com/watch?v=6gmP4nk0EOE">Direct link</a>, for the feed readers.]</p>
<p>(Via <a href="http://www.gizmodo.com/gadgets/software/web-20-explodes-mindexpanding-video-shows-whos-teaching-who-234575.php">Gizmodo</a>.)</p>]]></content:encoded>
			<wfw:commentRss>http://www.eriksmartt.com/blog/archives/316/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

