Yet Another Falling Snow Animation with jQuery and Canvas - GlauserChristmas

File Size: 58.3KB
Views Total: 6929
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Yet Another Falling Snow Animation with jQuery and Canvas - GlauserChristmas

GlauserChristmas is yet another fancy jQuery plugin for generating a snowflakes falling animation based on Html <canvas> element. Can be used for Christmas, Happy New Year, and Winter design projects.

Your might also like:

How to use it:

1. Include the jQuery library and jQuery GlauserChristmas plugin at the end of your document.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> 
<script src="js/plugins.js"></script> 

2. Create a <canvas> element you want to apply the falling snow animation.

<canvas id="demo"> </canvas>

3. Initialize the plugin on this <canvas> element.

jQuery(document).ready(function(){
jQuery('#demo').glauserChristmas({
});
});

4. Add a background color to the parent container.

body, html {
    height: 100%;
    width: 100%;
    background: #648cc3;
}

This awesome jQuery plugin is developed by nahakiole. For more Advanced Usages, please check the demo page or visit the official website.