Skip to content

Instantly share code, notes, and snippets.

@sidor1989
Last active May 18, 2018 09:43
Show Gist options
  • Save sidor1989/55a8d43ee2359f89023adca87d8121da to your computer and use it in GitHub Desktop.
Save sidor1989/55a8d43ee2359f89023adca87d8121da to your computer and use it in GitHub Desktop.
<!-- required snowstorm JS, default behaviour -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/Snowstorm/20131208/snowstorm.js"></script>
<!-- now, we'll customize the snowStorm object -->
<script>
snowStorm.flakeWidth = 20;
snowStorm.flakeHeight = 20;
snowStorm.snowCharacter = '&#10052;';
//modsnow_snowCharacter = '#10052';
snowStorm.snowColor = '#a0d1ff'; // blue-ish snow!?
snowStorm.flakesMaxActive = 46; // show more snow on screen at once
snowStorm.useTwinkleEffect = true; // let the snow flicker in and out of view
snowStorm.vMaxX = 3;
snowStorm.vMaxY = 1;
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment