Falling Snow Effect with jQuery and HTML5 Canvas - Let It Snow

File Size: 33.3 KB
Views Total: 7552
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Falling Snow Effect with jQuery and HTML5 Canvas - Let It Snow

Let It Snow is a jQuery plugin to add customizable and realistic (or virtual) snow falling animations on your website using jQuery and Html5 canvas element.

More examples:

Your might also like:

Basic Usage:

1. Include jQuery javascript library and JQuery let it snow plugin in the page.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.let_it_snow.min.js"></script>

2. Create an Html canvas element and make it full screen.

<canvas width="100%" height="100%" class="snow"></canvas>

3. Call the plugin on the canvas element with default settings.

<script type="text/javascript">
$(document).ready( function() {
$("canvas.snow").let_it_snow();
});
</script>

4. Customize the falling snow effect.

<script type="text/javascript">
$(document).ready( function() {
$("canvas.snow").let_it_snow({
speed: 0,
interaction: true,
size: 2,
count: 200,
opacity: 0,
color: "#ffffff",
windPower: 0,
image: false
});
});
</script>

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