<?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>Chris Teso &#187; Actionscript Aurora Borealis</title>
	<atom:link href="http://www.christeso.com/blog/index.php/category/lab/actionscript-aurora-borealis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christeso.com/blog</link>
	<description>Chris Teso is Director of Interactive Media, Flash Designer Developer and Portland Photographer.</description>
	<lastBuildDate>Sun, 06 Jun 2010 04:59:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Actionscript Aurora Borealis</title>
		<link>http://www.christeso.com/blog/index.php/portfolio/actionscript-aurora-borealis/</link>
		<comments>http://www.christeso.com/blog/index.php/portfolio/actionscript-aurora-borealis/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 18:14:22 +0000</pubDate>
		<dc:creator>chris teso</dc:creator>
				<category><![CDATA[Actionscript Aurora Borealis]]></category>
		<category><![CDATA[Aurora Borealis]]></category>
		<category><![CDATA[Laboratory]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[drawing]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[trees]]></category>

		<guid isPermaLink="false">http://www.christeso.com/?p=311</guid>
		<description><![CDATA[lab]]></description>
			<content:encoded><![CDATA[<p><a title="photo sharing" href="http://www.christeso.com/labs/actionscript-aurora-borealis.asp" target="_blank"><img class="flickr-photo" src="http://farm3.static.flickr.com/2415/2432497902_6e00be1822.jpg" alt="" /></a></p>
<p class="flickr-yourcomment">The following is experimental drawing done for North. The idea was to recreate a tree line resembling the pacNW, and an aurora borealis. For inspiration I watched several youtube videos of a real aurora borealis. Everything on the screen is drawn on the fly with code and math. Nothing is &#8216;hand drawn&#8217;, right down to the branches on the trees.</p>
<p>View : <a href="http://www.christeso.com/labs/actionscript-aurora-borealis.asp" target="_blank">Actionscript Aurora Borealis</a></p>
<p>The aurora and trees are autonomous and random within the following effective ranges.</p>
<p>// trees<br />
var treeDistanceApart:Number = 30<br />
var numBuds:Number = 4<br />
var numTreeBurst:Number = 10<br />
var maxSubBranch:Number = 3;<br />
var maxSubAngle:Number = .07//4*Math.PI/4;<br />
var maxSize:Number = 6;<br />
var branchLenMax:Number = 65;<br />
var branchLenMin:Number = 40;<br />
var minAlpha:Number = 70<br />
var maxAlpha:Number = 100</p>
<p>// aurora<br />
var maxLines:Number = 40;<br />
var minLines:Number = 1;<br />
var trailSpeed:Number = 5<br />
var maxLineHeight:Number = 150;<br />
var lineXrange:Number = 70;<br />
var lineYrange:Number = 50;<br />
var lineAlphaMax:Number = 70;<br />
var lineThickMax:Number = 20;<br />
var maxInt:Number = 200<br />
var minInt:Number = 10<br />
var maxFade:Number = 30<br />
var minFade:Number = 1<br />
var minBlur:Number = 30<br />
var maxBlur:Number = 100<br />
var minGlow:Number = 1<br />
var maxGlow:Number = 10</p>
<p>Permalink: http://www.christeso.com/index.php/lab/actionscript-aurora-borealis/actionscript-aurora-borealis/</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" id="twitter"  target="_blank" href="http://twitter.com/home?status=Actionscript%20Aurora%20Borealis%20-%20http%3A%2F%2Fwww.christeso.com%2Fblog%2Findex.php%2Fportfolio%2Factionscript-aurora-borealis%2F" title="Twitter"><img src="http://www.christeso.com/blog/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.christeso.com%2Fblog%2Findex.php%2Fportfolio%2Factionscript-aurora-borealis%2F&amp;t=Actionscript%20Aurora%20Borealis" title="Facebook"><img src="http://www.christeso.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.christeso.com%2Fblog%2Findex.php%2Fportfolio%2Factionscript-aurora-borealis%2F&amp;title=Actionscript%20Aurora%20Borealis&amp;bodytext=lab" title="Digg"><img src="http://www.christeso.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.christeso.com%2Fblog%2Findex.php%2Fportfolio%2Factionscript-aurora-borealis%2F&amp;title=Actionscript%20Aurora%20Borealis&amp;notes=lab" title="del.icio.us"><img src="http://www.christeso.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.christeso.com%2Fblog%2Findex.php%2Fportfolio%2Factionscript-aurora-borealis%2F&amp;title=Actionscript%20Aurora%20Borealis&amp;annotation=lab" title="Google Bookmarks"><img src="http://www.christeso.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" id="print"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.christeso.com%2Fblog%2Findex.php%2Fportfolio%2Factionscript-aurora-borealis%2F&amp;partner=sociable" title="Print"><img src="http://www.christeso.com/blog/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.christeso.com/blog/index.php/portfolio/actionscript-aurora-borealis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
