HTML5 Falling snow generator

Add a falling snow effect to any page.



Customise your snowflakes and add to your page

30
3
1
Query selector to add snow to an element. Use html to add to whole page.


Paste the following into your page to add your custom snow effect.

                <script src=""></script>
                <script>
                    var snow = fallingSnow();
                    snow.fall(                    
                        intensity: 30,
                        snowflakeSize: 3,
                        speed: 1,
                        element: 'header'
                    );
                </script>
            

Options and config

            var snow = fallingSnow();
            snow.fall(
                speed: 0.5, // 0.3-1.0, 1.0 = faster
                intensity: 10, // 10-100, 100 = blizzard
                snowflakeSize: 3, // 1-5, 5 = huge flakes
                element: 'html' // QuerySelector used to add flakes to an element        
            );