if someone want to customize it more, here some tips:
https://github.com/justoverclockl/christmas-snow-effect/blob/main/js/src/forum/index.js#L13-L45
in this code you can add fontawesome icons (that will replace the actual snowflake, or add a new one)
simply add more element to this array
elements : [
{
// html element to be spawned for this element
html: '<i class="fas fa-snowflake" aria-hidden="true"></i>',
// hex color for this element - works only for font based icons
color: '#cc2037'
},
{
// html element to be spawned for this element
html: '<i class="fas fa-snowflake" aria-hidden="true"></i>',
// hex color for this element - works only for font based icons
color: '#ffffff'
},
]
and here you can customize spawn, size, and target elements:
var snowEffectInterval = jQuery.fn.snow({
// min size of element (default: 20)
minSize: 4,
// max size of element (default: 50)
maxSize: 10,
// flake fall time multiplier (default: 20)
fallTimeMultiplier: 20,
// flake fall time difference (default: 10000)
fallTimeDifference: 30000,
// interval (miliseconds) between new element spawns (default: 500)
spawnInterval: 800,
// jQuery element to apply snow effect on (should work on any block element) (default: body)
target: jQuery("div#app"),