<?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>shaun tinney // createvolution &#187; programming</title>
	<atom:link href="http://www.createvolution.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.createvolution.com</link>
	<description>shaun tinney on the internets</description>
	<lastBuildDate>Thu, 03 Sep 2009 17:52:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Teaching Intro to AS3 at PNCA</title>
		<link>http://www.createvolution.com/programming/teaching-intro-to-as3-at-pnca/</link>
		<comments>http://www.createvolution.com/programming/teaching-intro-to-as3-at-pnca/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 03:34:49 +0000</pubDate>
		<dc:creator>Shaun Tinney</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[teaching]]></category>

		<guid isPermaLink="false">http://www.createvolution.com/?p=185</guid>
		<description><![CDATA[I&#8217;ll be teaching a 6 week Intro to ActionScript 3 course at PNCA this September. Post a comment if you&#8217;ve got any questions &#8212; should be a lot of fun!
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be teaching a 6 week <a title="Register for my Intro to AS3 class" href="http://bit.ly/as3intro" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://bit.ly/as3intro');" target="_blank">Intro to ActionScript 3 course</a> at <a title="PNCA Website" href="http://pnca.edu" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://pnca.edu');" target="_blank">PNCA</a> this September. Post a comment if you&#8217;ve got any questions &#8212; should be a lot of fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.createvolution.com/programming/teaching-intro-to-as3-at-pnca/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show and Tell PDX</title>
		<link>http://www.createvolution.com/programming/show-and-tell-pdx/</link>
		<comments>http://www.createvolution.com/programming/show-and-tell-pdx/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 05:54:56 +0000</pubDate>
		<dc:creator>Shaun Tinney</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.createvolution.com/?p=175</guid>
		<description><![CDATA[Show and Tell PDX is an event hosted by Substance, wherein a handful of speakers have up to 10 minutes each to share a project, product, or idea with everyone in attendance. For the inaugural event, I was second in the lineup, sharing an AIR application I&#8217;d written to allow any Actionscript class to be [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.createvolution.com/programming/show-and-tell-pdx/" ><em>Click here to view the embedded video.</em></a>
<p><a title="Show and Tell PDX intro" href="http://findsubstance.com/2009/02/12/show-and-tell-pdx-march-3rd-at-substance-world-hq/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://findsubstance.com/2009/02/12/show-and-tell-pdx-march-3rd-at-substance-world-hq/');" target="_blank">Show and Tell PDX</a> is an event hosted by <a title="Substance website" href="http://findsubstance.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://findsubstance.com');" target="_blank">Substance</a>, wherein a handful of speakers have up to 10 minutes each to share a project, product, or idea with everyone in attendance. For the inaugural event, I was second in the <a title="Show and Tell PDX lineup" href="http://findsubstance.com/2009/02/27/show-and-tell-pdx_the-lineup/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://findsubstance.com/2009/02/27/show-and-tell-pdx_the-lineup/');" target="_blank">lineup</a>, sharing an AIR application I&#8217;d written to allow any Actionscript class to be exported as a JPEG/PNG image (or series of images).</p>
<p>Overall, the event was an inspiring and educational experience, and I&#8217;m looking forward to seeing how it evolves. Check out the <a title="Show and Tell PDX recap" href="http://findsubstance.com/2009/03/04/show-and-tell_the-recap/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://findsubstance.com/2009/03/04/show-and-tell_the-recap/');" target="_blank">recap</a> for more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.createvolution.com/programming/show-and-tell-pdx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>#tweetcoding</title>
		<link>http://www.createvolution.com/programming/tweetcoding/</link>
		<comments>http://www.createvolution.com/programming/tweetcoding/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 04:47:57 +0000</pubDate>
		<dc:creator>Shaun Tinney</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.createvolution.com/?p=116</guid>
		<description><![CDATA[About 3 weeks ago, Grant Skinner started an AS3 programming contest on Twitter. The idea is that you take 140 characters of "gimme" code, essentially a few function shortcuts with an enterFrame function to hold your code, and see what you can program in a single tweet.]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="tweetcoding" src="/images/content/tweetcoding.jpg" alt="" width="500" height="375" /></p>
<p>About 3 weeks ago, <a title="Grant Skinner's Blog" href="http://gskinner.com/blog/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://gskinner.com/blog/');" target="_blank">Grant Skinner</a> started an AS3 programming contest on <a title="Shaun Tinney on Twitter" href="http://twitter.com/createvolution" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://twitter.com/createvolution');" target="_blank">Twitter</a>. The idea is that you take 140 characters of &#8220;gimme&#8221; code, essentially a few function shortcuts with an enterFrame function to hold your code, and see what you can program in a single tweet.</p>
<p>Initially, most of the entries were automated line and shape visualizations, since most of the function shortcuts are for the Graphics class. I wanted to add a little more visual interest, as well as some user interaction. Here is what I ended up submitting as my first entry:</p>
<h4><a title="tweetcoding entry #1" href="http://www.createvolution.com/wp-content/uploads/2009/03/leaky-sunset.swf"  target="_blank">entry #1: leaky sunset</a></h4>
<p><span style="color: #c0c0c0;">a=new BitmapData(2,400);a.perlinNoise(2,400,9,51,0,0);<br />
g.beginBitmapFill(a);lt(1,0);lt(0,1);q=mouseX;w=mouseY;g.drawCircle(q,w,m.min(q,w)/9);</span></p>
<p>Next, I tried do something similar but using a bit less code:</p>
<h4><a title="tweetcoding entry #2" href="http://www.createvolution.com/wp-content/uploads/2009/03/wheelix.swf"  target="_blank">entry #2: wheelix</a></h4>
<p><span style="color: #c0c0c0;">q=mouseX;w=mouseY;ls(0,0,.1);mt(q,w);lt(0,0);<br />
g.beginFill(r()*1e7,.1);g.drawCircle(q,w,r()*20);rotationZ+=4;<br />
</span></p>
<p>After taking a break from what had become an addicting little challenge, <a title="Shelby White" href="http://blog.wanken.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://blog.wanken.com/');" target="_blank">Shelby</a> suggested making something that would print, so I threw one last entry together. It&#8217;s a simple drawing application that will automatically print once a bunch of circles are drawn. Just let your mouse do the talking:</p>
<h4><a title="tweetcoding entry #3" href="http://www.createvolution.com/wp-content/uploads/2009/03/dotprint.swf"  target="_blank">entry #3: dotprint</a></h4>
<p><span style="color: #c0c0c0;">if(i++&lt;99){g.beginFill(r()*1e7);g.drawCircle(mouseX,mouseY,99-i)<br />
}else if(i==99){var p=new PrintJob();p.start();p.addPage(this);p.send()};<br />
</span></p>
<p>It&#8217;s fun to see just how much you can get out of 140 characters. There are a handful of tricks to save every last character: using 9 instead of 10, 99 instead of 100, almost completely ignoring memory management, shortening color values to exponents (1e7 instead of 0xFFFFFF), boolean shorthand if(!i++), modulus, ternary conditionals, etc. The cooler something is, the less likely it is to be readable, for instance:</p>
<p><span style="color: #c0c0c0;">for(g.clear();j=i++%300;ls(0))with(o[j]=o[j]?o[j]:new Matrix)mt(b,c),<br />
u=b-mouseX,v=c-mouseY,t=-m.pow(u*u+v*v,-.7)*r(),lt(b+=a+=u*t,c+=d+=v*t)</span></p>
<p>renders a <a title="a flock of pixels" href="http://tweetcoding.machine501.com/tc_1276703078.swf" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://tweetcoding.machine501.com/tc_1276703078.swf');" target="_blank">flock of pixels</a> that follow your mouse around&#8230; pretty rad if you ask me.</p>
<p>If you&#8217;re interested in learning more, here are the official tweetcoding <a title="tweetcoding rules" href="http://gskinner.com/playpen/tweetcoding.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://gskinner.com/playpen/tweetcoding.html');" target="_blank">rules</a>, complete <a title="tweetcoding entries" href="http://tweetcoding.machine501.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://tweetcoding.machine501.com/');" target="_blank">list of entries</a>, and a bit more about <a title="more information" href=" http://www.gskinner.com/blog/archives/2009/02/tweetcoding_con.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/ http://www.gskinner.com/blog/archives/2009/02/tweetcoding_con.html');" target="_blank">the story</a> behind <a title="simply amazing" href="http://www.gskinner.com/blog/archives/2009/03/tweetcoding_sim.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.gskinner.com/blog/archives/2009/03/tweetcoding_sim.html');" target="_blank">tweetcoding</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.createvolution.com/programming/tweetcoding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
