diff options
author | Yaroslav <contact@yaroslavps.com> | 2018-12-13 19:57:02 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2018-12-13 19:57:02 +0300 |
commit | 22f2280a04c7163fa1b4743963f3f2555df330eb (patch) | |
tree | 8fa89869004bf794887d95b97775995f3fd7ee3b | |
parent | 4f38455cb3040dcb662f075bedb3f2c97980c8c1 (diff) | |
download | canvas-antics-22f2280a04c7163fa1b4743963f3f2555df330eb.tar.gz canvas-antics-22f2280a04c7163fa1b4743963f3f2555df330eb.zip |
let it snow readme
-rw-r--r-- | letitsnow/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/letitsnow/README.md b/letitsnow/README.md new file mode 100644 index 0000000..ec280d8 --- /dev/null +++ b/letitsnow/README.md @@ -0,0 +1,18 @@ +# Let It Snow # + +It is presicely what you imagine. + +To start the animation, just call this function, and (optionally) pass some options to it to configure the animation to your liking. For it to work you should have a canvas object in your document with id #snow. + +```javascript +letItSnow({ + 'max_particles': 200, + 'base_speed': 200, + 'max_xspeed': 300, + 'max_tradius': 20, + 'max_tduration': 5000, + 'interactive': true, +}); +``` + +Happy holidays 2018 and happy 2019! |