<script src="./snowflakes.js"></script>
<link href="./snowflakes.css" rel="stylesheet">
Should I? Perhaps not. Testing / error handling required. It's really only targeting latest chrome/firefox
A word of warning, it changes the z-index on h1/h2/h3/h4/p etc tags, so the snow stays behind. You can remove this from the css if it causes you problems.
There are some global variables at the top of snowflakes.js
There is a snowflake icon at the bottom left of the browser window. Click that to start/stop the animation. Each time you click it, the theme changes.
Or add your own button, like this:
Toggle SnowWhile it is running, it has some mouse bindings, moving the mouse up, slows the snowfall, moving it down makes the snow fall faster, left and right make the wind blow left and right
A nice addition to any website. Runs fairly slowly in safari, but most things do.