- Code refactoring.
- Update dev deps in package.json.
- Fix color #25.
- Update dev deps in package.json.
- Update dev deps in package.json.
- Fixed Safari scroll problem #21.
- Added CSS
user-select: none
andpointer-events: none
for snowflakes.
- Updated dev deps in package.json.
- Updated dev deps in package.json.
- Added
minSize
andmaxSize
properties. You can set the size of snowflakes. Example. - Added
minOpacity
andmaxOpacity
properties. - Removed
useScale
property. useRotate
property renamed torotation
.- Added light version without SVG images:
dist/snowflakes.light.js
anddist/snowflakes.light.min.js
. You can set your own kind of snowflakes. Example.
demo.html
moved tohttps://github.com/hcodes/demo-snowflakes
example/
→examples/
- Added new examples
- Small refactoring
- Now snowflakes in SVG format.
- You can change the color of snowflakes. The property
color: "red"
. Default:"#5ECDEF"
. - Snowflakes can fly without wind. The property
wind: false
. Default:true
.
Fixed Babel dependencies #10.
Removed dist/
.
- Small fix for server side #7.
- Added examples.
- Fixes for constructor.
Removed console.log.
- CSS optimization.
- Added Gulp and Rollup with Babel.
First public release.