Skip to content

Instantly share code, notes, and snippets.

@trentmwillis
trentmwillis / snowflakes
Created December 13, 2014 00:01
A simple script to make falling snow on any page
(function() {
var snowflakes = [],
moveAngle = 0,
animationInterval;
/**
* Generates a random number between the min and max (inclusive).
* @method getRandomNumber
* @param {Number} min
* @param {Number} max