<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: JavaScript Challenge #4 (Space, the final grassy gnoll)</title>
	<atom:link href="http://mootools.net/blog/2012/08/15/javascript-challenge-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://mootools.net/blog/2012/08/15/javascript-challenge-4/</link>
	<description>The Blog</description>
	<lastBuildDate>Sat, 20 Apr 2013 05:31:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Brian Nickel</title>
		<link>http://mootools.net/blog/2012/08/15/javascript-challenge-4/comment-page-1/#comment-3114</link>
		<dc:creator>Brian Nickel</dc:creator>
		<pubDate>Fri, 17 Aug 2012 16:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1777#comment-3114</guid>
		<description>&lt;p&gt;Version 2 with some configurability.&lt;/p&gt;

&lt;p&gt;Stars have subtle variation in size, brightness, and hue.&lt;/p&gt;

&lt;p&gt;http://jsfiddle.net/bnickel/ub2Gg/&lt;/p&gt;

&lt;p&gt;It looks like the sawtooth pattern of garbage collection is common across all the canvas-based solutions so far so it&#039;s probably attributable to canvas API itself.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Version 2 with some configurability.</p>

<p>Stars have subtle variation in size, brightness, and hue.</p>

<p><a href="http://jsfiddle.net/bnickel/ub2Gg/" rel="nofollow">http://jsfiddle.net/bnickel/ub2Gg/</a></p>

<p>It looks like the sawtooth pattern of garbage collection is common across all the canvas-based solutions so far so it&#8217;s probably attributable to canvas API itself.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://mootools.net/blog/2012/08/15/javascript-challenge-4/comment-page-1/#comment-3113</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Fri, 17 Aug 2012 14:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1777#comment-3113</guid>
		<description>&lt;p&gt;After getting some sleep, I improved the look a bit by adding a randomized acceleration vector and tweaking some other variables. Also fixed a bug where stars would occasionally not get moved because I was iterating the wrong direction through the array (n00b mistake!).&lt;/p&gt;

&lt;p&gt;http://jsfiddle.net/LXguU/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>After getting some sleep, I improved the look a bit by adding a randomized acceleration vector and tweaking some other variables. Also fixed a bug where stars would occasionally not get moved because I was iterating the wrong direction through the array (n00b mistake!).</p>

<p><a href="http://jsfiddle.net/LXguU/" rel="nofollow">http://jsfiddle.net/LXguU/</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: SJ</title>
		<link>http://mootools.net/blog/2012/08/15/javascript-challenge-4/comment-page-1/#comment-3112</link>
		<dc:creator>SJ</dc:creator>
		<pubDate>Fri, 17 Aug 2012 13:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1777#comment-3112</guid>
		<description>&lt;p&gt;Here&#039;s a low-tech plain old elements example:&lt;/p&gt;

&lt;p&gt;http://jsfiddle.net/raider5/WMwrq/&lt;/p&gt;

&lt;p&gt;With a small change to the css there can be the same number of stars but half the elements!&lt;/p&gt;

&lt;p&gt;http://jsfiddle.net/raider5/WMwrq/2/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a low-tech plain old elements example:</p>

<p><a href="http://jsfiddle.net/raider5/WMwrq/" rel="nofollow">http://jsfiddle.net/raider5/WMwrq/</a></p>

<p>With a small change to the css there can be the same number of stars but half the elements!</p>

<p><a href="http://jsfiddle.net/raider5/WMwrq/2/" rel="nofollow">http://jsfiddle.net/raider5/WMwrq/2/</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://mootools.net/blog/2012/08/15/javascript-challenge-4/comment-page-1/#comment-3110</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Fri, 17 Aug 2012 05:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1777#comment-3110</guid>
		<description>&lt;p&gt;My contribution:&lt;/p&gt;

&lt;p&gt;http://jsfiddle.net/plamoni/BC89D/&lt;/p&gt;

&lt;p&gt;Not much to see there. I&#039;m using vanilla JS; the code is pretty short (65 lines) and seems to run pretty quickly (runs fine on my iPhone). I make use of prototypal inheritance, which should earn some extra style points. I also drop in some wizardry involving logical and bitwise ORs. Also, Chrome is showing no memory leakage at all.&lt;/p&gt;

&lt;p&gt;Sometimes it&#039;s the little things that count? :-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>My contribution:</p>

<p><a href="http://jsfiddle.net/plamoni/BC89D/" rel="nofollow">http://jsfiddle.net/plamoni/BC89D/</a></p>

<p>Not much to see there. I&#8217;m using vanilla JS; the code is pretty short (65 lines) and seems to run pretty quickly (runs fine on my iPhone). I make use of prototypal inheritance, which should earn some extra style points. I also drop in some wizardry involving logical and bitwise ORs. Also, Chrome is showing no memory leakage at all.</p>

<p>Sometimes it&#8217;s the little things that count? :-)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Chidge</title>
		<link>http://mootools.net/blog/2012/08/15/javascript-challenge-4/comment-page-1/#comment-3107</link>
		<dc:creator>Chidge</dc:creator>
		<pubDate>Thu, 16 Aug 2012 13:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1777#comment-3107</guid>
		<description>&lt;p&gt;A Vanilla JS implementation: http://jsfiddle.net/chidge/3ach8/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>A Vanilla JS implementation: <a href="http://jsfiddle.net/chidge/3ach8/" rel="nofollow">http://jsfiddle.net/chidge/3ach8/</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Nickel</title>
		<link>http://mootools.net/blog/2012/08/15/javascript-challenge-4/comment-page-1/#comment-3100</link>
		<dc:creator>Brian Nickel</dc:creator>
		<pubDate>Wed, 15 Aug 2012 23:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1777#comment-3100</guid>
		<description>&lt;p&gt;My first go, using the canvas.&lt;/p&gt;

&lt;p&gt;http://jsfiddle.net/bnickel/tYHCc/&lt;/p&gt;

&lt;p&gt;It&#039;s running fast enough but I&#039;m worried about the memory profile.  I&#039;m not burning through temporary objects (that I know of) but GC happens every couple seconds seemingly inversely proportional to the number of stars.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>My first go, using the canvas.</p>

<p><a href="http://jsfiddle.net/bnickel/tYHCc/" rel="nofollow">http://jsfiddle.net/bnickel/tYHCc/</a></p>

<p>It&#8217;s running fast enough but I&#8217;m worried about the memory profile.  I&#8217;m not burning through temporary objects (that I know of) but GC happens every couple seconds seemingly inversely proportional to the number of stars.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun Grady</title>
		<link>http://mootools.net/blog/2012/08/15/javascript-challenge-4/comment-page-1/#comment-3099</link>
		<dc:creator>Shaun Grady</dc:creator>
		<pubDate>Wed, 15 Aug 2012 21:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1777#comment-3099</guid>
		<description>&lt;p&gt;Nevermind, I fixed it... sorry for the extra posts.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nevermind, I fixed it&#8230; sorry for the extra posts.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun Grady</title>
		<link>http://mootools.net/blog/2012/08/15/javascript-challenge-4/comment-page-1/#comment-3098</link>
		<dc:creator>Shaun Grady</dc:creator>
		<pubDate>Wed, 15 Aug 2012 20:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1777#comment-3098</guid>
		<description>&lt;p&gt;Actually mod, can you remove that post please? It leaks more than I hoped, thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Actually mod, can you remove that post please? It leaks more than I hoped, thanks.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun Grady</title>
		<link>http://mootools.net/blog/2012/08/15/javascript-challenge-4/comment-page-1/#comment-3097</link>
		<dc:creator>Shaun Grady</dc:creator>
		<pubDate>Wed, 15 Aug 2012 20:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1777#comment-3097</guid>
		<description>&lt;p&gt;Powered by CSS3 (ain&#039;t it great?):&lt;/p&gt;

&lt;p&gt;Fullscreen: http://jsfiddle.net/shaungrady/9D5kn/embedded/result/
Fiddle: http://jsfiddle.net/shaungrady/9D5kn/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Powered by CSS3 (ain&#8217;t it great?):</p>

<p>Fullscreen: <a href="http://jsfiddle.net/shaungrady/9D5kn/embedded/result/" rel="nofollow">http://jsfiddle.net/shaungrady/9D5kn/embedded/result/</a>
Fiddle: <a href="http://jsfiddle.net/shaungrady/9D5kn/" rel="nofollow">http://jsfiddle.net/shaungrady/9D5kn/</a></p>]]></content:encoded>
	</item>
</channel>
</rss>
