I made PHP-generated SVG snow to put on a website.
It does not require JavaScript.
You may download the code : neige.svg.php.
And refer to it in your CSS :
background: url(neige.svg.php) center top;
You may play with the various variables in the PHP script.
For neatness, you may remove the ".php
" part of the filename by adding this to your .htaccess
file :
RewriteEngine On RewriteRule ^neige\.svg$ neige.svg.php
And changing "neige.svg.php" to "neige.svg" in your CSS :
background: url(neige.svg) center top;
It is based on a script I found in December 2012 : xmas_snow.
In 2013, I redid that old script on three separate attempts : old/.