Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: svg-renderer

This branch is 11 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
script
.gitignore
README
snow.html

README

Snow!
=====

Javascript / Canvas-based snow.

Requirements:
=============
You'll need:

1. Prototype - http://www.prototypejs.org

Instructions:
=============

1. Add a canvas element to your page:
<canvas id="my_snow" width="200" height="200"/>

2. Create a snow field:
var snowField = new SnowField("my_snow");

3. Add some snow:
snowField.addFlakes(350);

Additional Features:
====================

You can stop and start the snow:
snowField.stop(); snowField.start();


Something went wrong with that request. Please try again.