1.0.0 • Published 1 year ago

quick-snow v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

quick-snow NPM package

(C) 2022 by Daniel Brendel

Released under the MIT license

About

quick-snow lets you quickly add a snowfall animation to your website. This way you can give your website a winter themed effect.

Usage

import 'quick-snow';

let snow = new QuickSnow('selector', {
	//Default values
	count: 100, //Amount of snowflakes
	speed: 1.0, //Factor of speed
	color: 'rgb(255, 255, 255)', //CSS color expression or 'random' for random color
	before: true //True to insert as first element or false to append as last element
});

snow.start(); //Start effect
snow.stop(); //Stop effect
1.0.0

1 year ago