<?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>GLOW interactive™ BLOG &#187; TweetCoding</title>
	<atom:link href="http://blog.glowinteractive.com/index.php/tag/tweetcoding/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.glowinteractive.com</link>
	<description>codify, media, gaming, industry ramblings, finance</description>
	<lastBuildDate>Tue, 29 Jun 2010 21:39:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>#tweetcoding Revisited</title>
		<link>http://blog.glowinteractive.com/index.php/2009/11/tweetcoding-revisited/</link>
		<comments>http://blog.glowinteractive.com/index.php/2009/11/tweetcoding-revisited/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:56:41 +0000</pubDate>
		<dc:creator>Jan Kalis</dc:creator>
				<category><![CDATA[Codify]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[TweetCoding]]></category>

		<guid isPermaLink="false">http://blog.glowinteractive.com/?p=200</guid>
		<description><![CDATA[Earlier this year Grant Skinner organized coding competition. The task was particularly simple: to code something cool in ActionScript using at most 140 characters (whence the name, tweetcoding). As everybody else, let me talk about my submissions a little bit, too.]]></description>
			<content:encoded><![CDATA[<p>Earlier this year <a href="http://www.gskinner.com">Grant Skinner</a> organized a coding competition called<a href="http://www.gskinner.com/blog/archives/2009/02/tweetcoding_con.html"> Tweetcoding</a>. The task was particularly simple: to code something cool in ActionScript3 using at most 140 characters (whence the name, tweetcoding). As everyone else writing a blog did, let me repost my submissions, too (another reason is that it seems that the original site with all submissions is down now). There is nothing really to talk about code-wise to dissect &#8211; it&#8217;s so short, just read it and enjoy the &#8220;coolness.&#8221;</p>
<h2><strong>Anemone</strong></h2>
<p>My first entry was called <a title="Tweet Coding - Anemone" href="http://www.glowinteractive.com/staging/jan/blog/tweetcoding/anemone.swf" target="_blank">Anemone</a>.</p>
<p>The Code:</p>
<pre class="brush: as3;">if(i++&lt;9)o[i-1]={x:275,y:200,a:l=i,w:30};with(o[i%l]){if(w&gt;5)o[l++]={x:x,y:y,a:a,w:w};ls(w--,i);mt(x,y);lt(x+=9*s(2-a),y+=9*s(a+=r()*.6+6))}</pre>
<p><a href="http://www.glowinteractive.com/staging/jan/blog/tweetcoding/anemone.swf" target="_blank"><img class="alignleft size-full wp-image-480" title="codify_post_tweetcoding_anemone" src="http://blog.glowinteractive.com/wp-content/uploads/2009/11/codify_post_tweetcoding_anemone.jpg" alt="Tweet Coding Anemone" width="670" height="320" /></a></p>
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<h2><strong>Wormhole</strong></h2>
<p>I was really happy about <a title="Tweet Coding - Wormhole" href="http://www.glowinteractive.com/staging/jan/blog/tweetcoding/wormhole.swf" target="_blank">Wormhole</a>, because it seemed to become an inspiration for <a href="http://pixelero.wordpress.com/" target="_blank">piXelero&#8217;s</a> <a href="http://www.petrileskinen.fi/Actionscript/Tweetcodes/TunnelOfStripes.html" target="_blank">winning entry Tunnel of Stripes</a>.</p>
<p>The Code:</p>
<pre class="brush: as3;">g.clear();for(c=-90;c++;){d=91+(c-i*10)%90;ls(.1*d+9/d,0,1/d);g.drawCircle(275+.3*(s(i)+s(2*i))*(d+99),200+30*s(i),999/d)}i+=.01</pre>
<p><a href="http://www.glowinteractive.com/staging/jan/blog/tweetcoding/wormhole.swf" target="_blank"><img title="codify_post_tweetcoding_wormhole" src="http://blog.glowinteractive.com/wp-content/uploads/2009/11/codify_post_tweetcoding_wormhole.jpg" alt="Tweet Coding - Wormhole" width="670" height="320" /></a><strong><strong><strong><strong>Twister</strong></strong></strong></strong></p>
<p>The next submission received a notable mention, <a title="Tweet Coding - Twister" href="http://www.glowinteractive.com/staging/jan/blog/tweetcoding/twister.swf" target="_blank">Twister</a>.</p>
<p>The Code:</p>
<pre class="brush: as3;">g.clear();for(c=999;c--;mt(c,k=275))if(!i)o[c]=r();else ls(1,lt(c,k),l=o[c],g.drawCircle(k+l*c*s(i+c)/9+99*s(i*.1)*s(2-2*l),k-l*k,.5));i+=.1</pre>
<p><a href="http://www.glowinteractive.com/staging/jan/blog/tweetcoding/twister.swf" target="_blank"><img class="alignleft size-full wp-image-488" title="codify_post_tweetcoding_twister" src="http://blog.glowinteractive.com/wp-content/uploads/2009/11/codify_post_tweetcoding_twister.jpg" alt="Tweet Coding - Twister" width="670" height="320" /></a></p>
<h2><strong><strong>Grass</strong></strong></h2>
<p>Fourth is <a title="Tweet Coding - Grass" href="http://www.glowinteractive.com/staging/jan/blog/tweetcoding/grass.swf" target="_blank">Grass</a>.</p>
<p>The Code:</p>
<pre class="brush: as3;">g.clear();for(m=c=275;c--;ls(1,c&lt;&lt;8))for(u=c&amp;4,v=9,mt(p=m+m*s(c*6),q=m+99*s(c*5)),k=.1+s(c+i)/20,d=15;d--;u+=v*k,v-=u*k)lt(p+=u,q-=v);i+=.1</pre>
<p><a href="http://www.glowinteractive.com/staging/jan/blog/tweetcoding/grass.swf" target="_blank"><img class="alignleft size-full wp-image-490" title="codify_post_tweetcoding_grass" src="http://blog.glowinteractive.com/wp-content/uploads/2009/11/codify_post_tweetcoding_grass.jpg" alt="Tweet Coding - Grass" width="670" height="320" /></a></p>
<h2><strong>Fur</strong></h2>
<p>Last but not least. At the time of the competition, our whole office became obsessed with the &#8220;fur effect&#8221; that you can see in the blog header. It was a bit challenging to recreate the effect in 140 characters, but it worked out well and I also had a couple of characters left to give the result a form, <a title="Tweet Coding - Fur" href="http://www.glowinteractive.com/staging/jan/blog/tweetcoding/femaleform.swf" target="_blank">Female Form</a> (let it run for a while).</p>
<p>The Code:</p>
<pre class="brush: as3;">l=r();o.a=r()*7;mt(o.x=275+l*(r()-.5)*200,o.y=300-l*200);for(c=9;c--;){ls(1,0,c/9);l=r()*9;lt(o.x+=l*s(o.a+=r()-.5),o.y+=l*s(1.6-o.a))}</pre>
<p><a href="http://www.glowinteractive.com/staging/jan/blog/tweetcoding/femaleform.swf" target="_blank"><img class="alignleft size-full wp-image-491" title="codify_post_tweetcoding_fur" src="http://blog.glowinteractive.com/wp-content/uploads/2009/11/codify_post_tweetcoding_fur.jpg" alt="Tweet Coding - Fur" width="670" height="320" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.glowinteractive.com/index.php/2009/11/tweetcoding-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
