/Snowy.js

❄ let it snow on your sites! ❄

Primary LanguageJavaScriptMIT LicenseMIT

Snowy.js ❄

let it snow on your sites! ⛄

Demo

Usage

<script src="https://jacobunknown.github.io/Snowy.js/snowy.js"></script>

new Snowy(amount, buildup, zIndex, color)

  • amount (Number - optional) the amount of snowballs. default: 10
  • buildup (Boolean - optional) whether to let snow build up from the bottom of the page. default: false
  • zIndex (Number - optional) the z index of the snow. default: 100
  • color (CSS Color - optional) the color of the snow. default: white

License

Snowy.js is released under the MIT License. see License