JS1k XMAS submission

Wanted to submit something that was just graphical this time around so I worked on a 3D Christmas Tree for my submission. The hardest thing was trying to pack a 3D engine with depth sorting and lighting into such a small package then of course I had to create the shapes for the tree and star. I got that and was happy but was told by my friends I should include snow.. so back to the drawing board. One thing that really helped was using the trick from the bouncing beholder demo from the first JS1K compo. Read More

Jquery Snowfall Plugin 1.3

Plugin has been updated to 1.4 please go here for more up to date information

*Updated* fixed a bug, and added an example file to show how to use the plugin.

Added a few new things to the Jquery snowfall plugin, you now have the ability to clear the snow from elements, chaining is supported, and element matching is supported. Its funny today was the hottest day of the year so far and I decided to work on a script to make it snow.

Download Jquery Snowfall 1.3.1

Invoking the snow

    $('#elementid').snowfall({flakeCount : 100, maxSpeed : 10});
    $('.class').snowfall({flakeCount : 100, maxSpeed : 10});

Snowfall Methods

    // stopping the snow

Options currently supported with default values

options = {
	flakeCount : 35,		// number
	flakeColor : '#ffffff', // string
	flakeIndex: 999999,		// number
	minSize : 1,			// number
	maxSize : 3,			// number
	minSpeed : 2,			// number
	maxSpeed : 3			// number


Snowfall Plugin Updated

Updated the snowfall plugin that was released yesterday with a few more features.  The primary new feature allows you to specify which elements you want the snow to appear in. An example of this can be seen below. View a full page demonstration

$('#snow-window').snowfall({flakeCount : 100, maxSpeed : 10});

In addition to snowing within elements there are some more options available, properties available are


You can still initialize the plugin with


but the flakes will not use fixed for positioning, they will now travel down the page completely. On some long pages this will make it seem like its not “snowing” as much. Im working on a few more updates that should be released in the following days. If you end up using this I’d love to know. You can download the most recent version here.

Jquery Snowfall plugin

Plugin has been updated to 1.4 please go here for more up to date information

Got bored today and decided to put together a quick snow plugin for Jquery. On my site Undeadgames.com the members look forward to the snow every year. I decided to replace the older one we were using, it was nice overall, but ran terribly slow on some browsers, and didn’t really care about window dimensions.

Click to download the plugin

The plugin is easy to implement, load up the file and call



$(document).snowfall(number of flakes);

Overall the plugin is pretty useless, and hearkens back to the days of old. Next update will include snow collecting on specified page elements. You can see it in action on either zombietweets.com, or undeadgames.com