<?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>Somethinghitme</title>
	<atom:link href="http://www.somethinghitme.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.somethinghitme.com</link>
	<description>Jason Browns personal blog</description>
	<lastBuildDate>Thu, 26 Jan 2012 03:32:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Current Project Canvas Shmup</title>
		<link>http://www.somethinghitme.com/2012/01/25/current-project-canvas-shmup/</link>
		<comments>http://www.somethinghitme.com/2012/01/25/current-project-canvas-shmup/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 03:31:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[canvas shmup]]></category>
		<category><![CDATA[javascript game]]></category>
		<category><![CDATA[shmupity]]></category>

		<guid isPermaLink="false">http://www.somethinghitme.com/?p=415</guid>
		<description><![CDATA[Posting my most current project (well my most current that happens to be cool anyway). Its a canvas shootemup, not really sure what Ill settle on for a title, but heres a screeny What I think is pretty cool about &#8230; <a href="http://www.somethinghitme.com/2012/01/25/current-project-canvas-shmup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Posting my most current project (well my most current that happens to be cool anyway). Its a canvas shootemup, not really sure what Ill settle on for a title, but heres a screeny</p>
<p><a href="http://www.somethinghitme.com/wp-content/uploads/2012/01/shmup.png"><img class="alignnone size-full wp-image-414" title="shmup" src="http://www.somethinghitme.com/wp-content/uploads/2012/01/shmup.png" alt="" width="515" height="604" /></a></p>
<p>What I think is pretty cool about it so far is all the graphics (except the bg) are procedural and generated based off of whatever seed you give it. Not only are the graphics based on a seed but so is the level. For example if you play game?testing, you will have the same level/graphics as someone else who plays using that seed. This could provide some interesting challenges. Anyway <a href="http://www.somethinghitme.com/pprojects/shump/?shmupity">heres the work in progress</a> using the seed shmupity.</p>
<p>Also of course this is being done using js/canvas so you need a modern browser to test it.. but I don&#8217;t think there&#8217;s many who&#8217;d come here without one of those <img src='http://www.somethinghitme.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.somethinghitme.com/2012/01/25/current-project-canvas-shmup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My SOPA/PIPA Ludum Dare entry</title>
		<link>http://www.somethinghitme.com/2012/01/18/my-sopapipa-ludum-dare-entry/</link>
		<comments>http://www.somethinghitme.com/2012/01/18/my-sopapipa-ludum-dare-entry/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 01:50:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[canvas games]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[pipa]]></category>
		<category><![CDATA[sopa]]></category>

		<guid isPermaLink="false">http://www.somethinghitme.com/?p=406</guid>
		<description><![CDATA[Was pretty stressful trying to make this in a day (especially since I did a full workday at my day job as well!). This ended up being my entry. I borrowed some game concepts (ok all of them) from the &#8230; <a href="http://www.somethinghitme.com/2012/01/18/my-sopapipa-ludum-dare-entry/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.somethinghitme.com/wp-content/uploads/2012/01/screen1.png"><img title="screen1" src="http://www.somethinghitme.com/wp-content/uploads/2012/01/screen1.png" alt="" width="640" height="480" /></a></p>
<p>Was pretty stressful trying to make this in a day (especially since I did a full workday at my day job as well!). <a href="http://www.ludumdare.com/compo/sopajam/?action=preview&amp;uid=10305">This ended up being my entry</a>. I borrowed some game concepts (ok all of them) from the awesome game World Infectonator. Basically what you do is you get one chance to convert a 1%&#8217;er or &#8220;the unaware&#8221; in hopes they will spread their new found awareness enough to beat the level. Game was done using JS and Canvas of course, and using my homegrown game engine thats been evolving over the last year or so. You can check out the game in all its glory <a href="http://www.somethinghitme.com/projects/sopa/">from the direct link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.somethinghitme.com/2012/01/18/my-sopapipa-ludum-dare-entry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Alpha Centauri Alien Crossfire on Windows 7</title>
		<link>http://www.somethinghitme.com/2012/01/01/alpha-centauri-alien-crossfire-on-windows-7/</link>
		<comments>http://www.somethinghitme.com/2012/01/01/alpha-centauri-alien-crossfire-on-windows-7/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 22:59:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Alien Crossfire]]></category>
		<category><![CDATA[Alpha Centauri]]></category>
		<category><![CDATA[Install Alpha Centuari WIndows 7]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.somethinghitme.com/?p=398</guid>
		<description><![CDATA[This is kind of a random post, but its something I ran into this week on vacation after getting a copy of Soldout Softwares Alpha Centauri with the Alien Crossfire expansion pack. If you&#8217;re like me and tried installing the &#8230; <a href="http://www.somethinghitme.com/2012/01/01/alpha-centauri-alien-crossfire-on-windows-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.somethinghitme.com/wp-content/uploads/2012/01/images.jpg"><img class="alignleft size-full wp-image-399" title="Alpha Centauri Alien Crossfire" src="http://www.somethinghitme.com/wp-content/uploads/2012/01/images.jpg" alt="" width="224" height="224" /></a>This is kind of a random post, but its something I ran into this week on vacation after getting a copy of Soldout Softwares Alpha Centauri with the Alien Crossfire expansion pack. If you&#8217;re like me and tried installing the game from the cd, the setup.exe just hangs. But never fear there is a way to get it working!</p>
<p><strong>Step 1</strong> &#8211; Make a directory somewhere on your machine, but not in program files, or program files(x86). Otherwise in order to save you will have to run the game as an administrator. What I did was create a directory structure on the root of my drive &#8220;DRIVE:\Firaxis\Sid Meier&#8217;s Alpha Centauri\&#8221;.</p>
<p><strong>Step 2 </strong>- Copy the contents of the &#8220;programs&#8221; directory from Disc 1 to the directory we created above. Now copy the Directories FX, MOVIES, and VOICES into the directory. Now your structure should look something like the following,</p>
<p><a href="http://www.somethinghitme.com/wp-content/uploads/2012/01/dir1.png"><img class="aligncenter size-full wp-image-401" title="dir" src="http://www.somethinghitme.com/wp-content/uploads/2012/01/dir1.png" alt="" width="392" height="411" /></a></p>
<p>Now do the same with CD2, copy the contents of programs to the root of the same directory and then copy FX/MOVIES/VOICES, and just acknowledge the file overwrites. At this point you now have a &#8220;working&#8221; copy of the game, you just run Terran.exe, or Terranx.exe in order to play, but you will probably have a few odd issues with windows not appearing, and low resolution. So I recommend you follow the rest of the directions posted at <a href=" http://forums.2kgames.com/showthread.php?112816-SMAC-on-Win-7-64-bit">this forum</a> (2nd post).</p>
<p>And enjoy <img src='http://www.somethinghitme.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.somethinghitme.com/2012/01/01/alpha-centauri-alien-crossfire-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fake 2d Lighting with javascript</title>
		<link>http://www.somethinghitme.com/2011/11/16/fake-2d-lighting-with-javascript/</link>
		<comments>http://www.somethinghitme.com/2011/11/16/fake-2d-lighting-with-javascript/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 20:51:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[2d lighting]]></category>
		<category><![CDATA[ai vision cone]]></category>

		<guid isPermaLink="false">http://www.somethinghitme.com/?p=389</guid>
		<description><![CDATA[Just started messing with realtime 2d raycasting for lighting today, used a pretty good code example from facepunch.com/threads/1011659. Heres my version in JS, and a fiddle to play with. If you look at the code youll notice I added a &#8230; <a href="http://www.somethinghitme.com/2011/11/16/fake-2d-lighting-with-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just started messing with realtime 2d raycasting for lighting today, used a pretty good code example from <a href="http://www.facepunch.com/threads/1011659">facepunch.com/threads/1011659</a>. <a href="http://www.somethinghitme.com/projects/2d%20lighting/fakelight.html">Heres my version in JS</a>, and<a href="http://jsfiddle.net/loktar/VY75L/16/"> a fiddle to play with</a>. If you look at the code youll notice I added a portion to keep track of the closest block per ray so you can light up only that block and not the others. However doing this got me to thinking, this method can be used to make a vision cone for AI. Ive seen this raycasting method used before I just never implemented it myself.. besides my *really* slow implementation for lighting on my <a href="http://www.somethinghitme.com/projects/canvasterrain/">canvas terrian.</a></p>
<p><a href="http://www.somethinghitme.com/wp-content/uploads/2011/11/2dlighting.png"><img title="2dlighting" src="http://www.somethinghitme.com/wp-content/uploads/2011/11/2dlighting.png" alt="" width="512" height="512" /></a></p>
<p>I might mess with this some more, got a few ideas for a small game or two, but who knows if Ill actually get around to it before finding something else that&#8217;s shiny. Feel free to do whatever with the code. Theres a lot of room for optimization.</p>
<p>Figured I might as well post this thing I was messing around with. <a href="http://jsfiddle.net/loktar/PyW5d/19/">Same concept but much slower </a>.</p>
<p><a href="http://www.somethinghitme.com/wp-content/uploads/2011/11/pyramid.png"><img class="aligncenter size-full wp-image-395" title="pyramid" src="http://www.somethinghitme.com/wp-content/uploads/2011/11/pyramid.png" alt="" width="252" height="256" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.somethinghitme.com/2011/11/16/fake-2d-lighting-with-javascript/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Meat Boy Pumpkin!</title>
		<link>http://www.somethinghitme.com/2011/10/30/meat-boy-pumpkin/</link>
		<comments>http://www.somethinghitme.com/2011/10/30/meat-boy-pumpkin/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 01:49:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[pumpkin]]></category>
		<category><![CDATA[super meat boy]]></category>

		<guid isPermaLink="false">http://www.somethinghitme.com/?p=385</guid>
		<description><![CDATA[Starting messing around with grinding out a pumpkin rather than cut, this is my first attempt. I love Super Meat Boy so I tried to capture his awesome little face! I definitely need to practice the rest of the year on apples &#8230; <a href="http://www.somethinghitme.com/2011/10/30/meat-boy-pumpkin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" title="Meat Boy!" src="http://a4.sphotos.ak.fbcdn.net/hphotos-ak-ash4/389284_10150368898699442_652039441_8254211_370952285_n.jpg" alt="" width="603" height="339" /></p>
<p>Starting messing around with grinding out a pumpkin rather than cut, this is my first attempt. I love Super Meat Boy so I tried to capture his awesome little face! I definitely need to practice the rest of the year on apples or something.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.somethinghitme.com/2011/10/30/meat-boy-pumpkin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gaming Gaming Gaming</title>
		<link>http://www.somethinghitme.com/2011/10/30/gaming-gaming-gaming/</link>
		<comments>http://www.somethinghitme.com/2011/10/30/gaming-gaming-gaming/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 22:54:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Battlefield 3]]></category>
		<category><![CDATA[Dungeon Defenders]]></category>
		<category><![CDATA[game collection]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[pc gaming]]></category>
		<category><![CDATA[tf2]]></category>

		<guid isPermaLink="false">http://www.somethinghitme.com/?p=382</guid>
		<description><![CDATA[So I realized I have never posted anything on here about my gaming habits. Gaming is a huge part of my life its probably a bit higher than programming even. I am VERY partial to PC gaming, consoles are ok.. &#8230; <a href="http://www.somethinghitme.com/2011/10/30/gaming-gaming-gaming/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I realized I have never posted anything on here about my gaming habits. Gaming is a huge part of my life its probably a bit higher than programming even. I am VERY partial to PC gaming, consoles are ok.. but I just look at them as underpowered PC&#8217;s <img src='http://www.somethinghitme.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . Plus its nice being able to install my copy of Homeworld and play it 13 years later without issue. Anyway I figure I will start to post some of my thoughts on games I am currently playing, and maybe some other tidbits from my collection.</p>
<p><strong>My collection</strong></p>
<p>Ill have to get some pictures up.. but I love collecting PC games, old and new. Currently my Steam account sits at just under 800 games, and my physical copy count sits at about 600 or so. I have most popular games that were released for the PC and quite a few obscure ones. I wont lie I haven&#8217;t played them all, last time I calculated I have played about a third of them. Once I get my spreadsheet up to date Ill post it on here.</p>
<p><strong>Games Im currently playing</strong></p>
<p>Right now Im switching between a few games, Dungeon Defenders, Battlefield 3, and Team Fortress 2. The Halloween events in TF2, and Dungeon Defenders are great I love when games include things going on in the real world, such as holidays.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.somethinghitme.com/2011/10/30/gaming-gaming-gaming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another Android live wallpaper, Forest Scene</title>
		<link>http://www.somethinghitme.com/2011/10/30/another-android-live-wallpaper-forest-scene/</link>
		<comments>http://www.somethinghitme.com/2011/10/30/another-android-live-wallpaper-forest-scene/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 22:47:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[forest scene]]></category>
		<category><![CDATA[market]]></category>

		<guid isPermaLink="false">http://www.somethinghitme.com/?p=379</guid>
		<description><![CDATA[The idea is *heavily* inspired by a JS1K demo submission that was done by @daisyowl.  I just thought the demo was so cool it was begging to be a live wallpaper. I plan on adding more features such as clouds/different &#8230; <a href="http://www.somethinghitme.com/2011/10/30/another-android-live-wallpaper-forest-scene/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img title="Forest Scene" src="https://g0.gstatic.com/android/market/com.loktar.forestscenes/f-1024-0" alt="" width="1024" height="500" /></p>
<p>The idea is *heavily* inspired by a <a title="Forest Scene" href="http://js1k.com/2011-dysentery/demo/994" target="_blank">JS1K demo submission</a> that was done by @daisyowl.  I just thought the demo was so cool it was begging to be a live wallpaper. I plan on adding more features such as clouds/different seasons etc. Heres a link to the source if anyones interested, <a href="https://github.com/loktar00/Android-Forest-LWP">https://github.com/loktar00/Android-Forest-LWP</a> and heres the link to it on the app market, <a href="https://market.android.com/details?id=com.loktar.forestscenes&amp;feature=search_result">https://market.android.com/details?id=com.loktar.forestscenes&amp;feature=search_result</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.somethinghitme.com/2011/10/30/another-android-live-wallpaper-forest-scene/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Live Wallpaper Guts and Goo</title>
		<link>http://www.somethinghitme.com/2011/10/11/android-live-wallpaper-guts-and-goo/</link>
		<comments>http://www.somethinghitme.com/2011/10/11/android-live-wallpaper-guts-and-goo/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 16:22:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[goo]]></category>
		<category><![CDATA[gross]]></category>
		<category><![CDATA[guts]]></category>
		<category><![CDATA[live wallpaper]]></category>
		<category><![CDATA[OpenGL]]></category>

		<guid isPermaLink="false">http://www.somethinghitme.com/?p=373</guid>
		<description><![CDATA[Just released my second live wallpaper, Guts and Goo! Its awesome, but of course my opinion could be taken as slightly biased. <a href="http://www.somethinghitme.com/2011/10/11/android-live-wallpaper-guts-and-goo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just released <a href="https://market.android.com/details?id=com.loktar.particleswirl&amp;feature=search_result" target="_blank">my second live wallpaper, Guts and Goo</a></p>
<p><img class="alignnone" title="Guts and Goo" src="https://g1.gstatic.com/android/market/com.loktar.particleswirl/f-1024-0" alt="Guts and Goo" width="1024" height="500" /></p>
<p>Used <a href="http://www.badlogicgames.com/wordpress/" target="_blank">libgdx</a> along with the <a href="http://code.google.com/p/libgdx-backend-android-livewallpaper/" target="_blank">libgdx live wallpaper backend</a>. Was a fun project, found out about an awesome filter library while making it, its what allowed for such great high res nasty images.</p>
<p>The hardest thing besides a bit of OpenGL I had to learn was the Android preferences. I dont know why but I have such a hard time getting them working right. So right now the only option is to pick different images to mess with. I plan on adding more later. I also plan on releasing a &#8220;lite&#8221; version which only includes one background to choose.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.somethinghitme.com/2011/10/11/android-live-wallpaper-guts-and-goo/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>jQuery Snowfall 1.5 update now with snow buildup!</title>
		<link>http://www.somethinghitme.com/2011/10/05/jquery-snowfall-1-5-update-now-with-snow-buildup/</link>
		<comments>http://www.somethinghitme.com/2011/10/05/jquery-snowfall-1-5-update-now-with-snow-buildup/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 01:39:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css3]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jquery snow]]></category>
		<category><![CDATA[jquery snow plugin]]></category>
		<category><![CDATA[snowfall]]></category>

		<guid isPermaLink="false">http://www.somethinghitme.com/?p=358</guid>
		<description><![CDATA[Added snow collection to the plugin, so now you can pass a jquery selector in the collection option and the snow will collect on top of all the elements matched. It uses the canvas tag so the snow wont collect in IE8 or lower. To enable collection you can do the following <a href="http://www.somethinghitme.com/2011/10/05/jquery-snowfall-1-5-update-now-with-snow-buildup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="https://github.com/loktar00/JQuery-Snowfall">Repo on Github</a><br />
<a href="http://code.google.com/p/jsnowfall/">Google code link</a><br />
<a href="http://www.somethinghitme.com/wp-content/uploads/2011/10/snowfall.jquery.zip">Download Jquery Snowfall 1.5</a><br />
<a href="http://loktar00.github.com/JQuery-Snowfall/">View the plugin in action</a></p>
<p>Added snow buildup to the plugin, so now you can pass a jquery selector in the collection option and the snow will collect on top of all the elements matched. It uses the canvas tag so the snow wont collect in IE8 or lower.<span id="more-358"></span> To enable collection you can do the following</p>
<pre class="brush: jscript; title: ; notranslate">
    snowfall({collection : 'element'});
</pre>
<p>Element can be either a class or id or a list such as</p>
<pre class="brush: jscript; title: ; notranslate">
    $(document).snowfall({collection : '.elements'});
    $(document).snowfall({collection : '#element'});
</pre>
<p>Thats pretty much it for new options below is the standard way of using the plugin.</p>
<p><strong>Invoking the snow</strong></p>
<pre class="brush: jscript; title: ; notranslate">
    $(document).snowfall();
    $('#elementid').snowfall({flakeCount : 100, maxSpeed : 10});
    $('.class').snowfall({flakeCount : 100, maxSpeed : 10});
</pre>
<p><strong>Snowfall Methods</strong></p>
<pre class="brush: jscript; title: ; notranslate">
    // stopping the snow
    $(document).snowfall('clear');
    $('#elementid').snowfall('clear');
    $('.class').snowfall('clear');
</pre>
<p><strong>Options currently supported with default values</strong></p>
<pre class="brush: jscript; title: ; notranslate">
options = {
	flakeCount : 35,		// number
	flakeColor : '#ffffff', // string
	flakeIndex: 999999,		// number
	minSize : 1,			// number
	maxSize : 3,			// number
	minSpeed : 2,			// number
	maxSpeed : 3,			// number
	round : false,			// bool
	shadow : false,			// bool
        collection : 'element'          // string
};
</pre>
<p><strong>Example</strong></p>
<div id="snow-window" style="width: 300px; height: 225px; position: relative; margin: 0 auto; background: #0033ff url('/wp-content/uploads/2009/12/winter.png'); border: 6px solid #F4A460;">
<input id="stopsnow" style="position: absolute; bottom: 0px; left: 110px;" type="button" value="Click to clear" /></div>
<p><script type="text/javascript" src="http://www.somethinghitme.com/wp-content/themes/somethinghitme/js/snowfall.min.jquery.js"></script><script type="text/javascript">// <![CDATA[
   $(document).ready(function(){$('#snow-window').snowfall({flakeCount : 100, maxSpeed : 10}); $('#stopsnow').click(function(){ $('#snow-window').snowfall('clear')});});
// ]]&gt;</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.somethinghitme.com/2011/10/05/jquery-snowfall-1-5-update-now-with-snow-buildup/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>My entry for js1k #3</title>
		<link>http://www.somethinghitme.com/2011/04/24/my-entry-for-js1k-3/</link>
		<comments>http://www.somethinghitme.com/2011/04/24/my-entry-for-js1k-3/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 16:30:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[js1k]]></category>
		<category><![CDATA[terrain]]></category>

		<guid isPermaLink="false">http://www.somethinghitme.com/?p=342</guid>
		<description><![CDATA[Below is what I ended up settling on for an entry for the JS1k. My ideas ranged for a rainbow road (similar to the Mario Kart level), to a 3d tombstone that said dysentary, a terrain generator, then a wave &#8230; <a href="http://www.somethinghitme.com/2011/04/24/my-entry-for-js1k-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Below is what I ended up settling on for an entry for the JS1k. My ideas ranged for a rainbow road (similar to the Mario Kart level), to a 3d tombstone that said dysentary, a terrain generator, then a wave generator. I ended up just combining the last two ideas and came up with below.<span id="more-342"></span></p>
<p><canvas id="terCanvas"></canvas><br />
<script type="text/javascript" src="http://www.somethinghitme.com/wp-content/uploads/2011/04/tersub.js"></script></p>
<p>Theres really no terrain generation, its just the y value set to a random height. I just didn&#8217;t have the room in 1k to fit it in unfortunately.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.somethinghitme.com/2011/04/24/my-entry-for-js1k-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  www.somethinghitme.com/feed/ ) in 0.24747 seconds, on Feb 2nd, 2012 at 3:40 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 9th, 2012 at 3:40 am UTC -->
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for (  www.somethinghitme.com/feed/ ) in 0.00058 seconds, on Feb 5th, 2012 at 12:38 am UTC. -->
