Ninja Power Manifesto

    snowworker

    1.0.9 • Public • Published

    Snowfall

    Lovely snow for your website. See a demo at https://snowfall.ooer.com/

    Installation

    Download /dist/snowfall.js and include it in your website somewhere. Then make anything that you want snow to settle on with a .rooftop class.

    Alternatively clone the repo and use npm run start to run a webpack dev server instance on port 3000. This will watch for changes to the files in /src so you can tinker with it.

    Improvements

    The snow isn't clever. It just lies on to of the element's clientRect. Ideally it should lie on the actual content, text, or whatever.

    Keywords

    none

    Install

    npm i snowworker

    DownloadsWeekly Downloads

    177

    Version

    1.0.9

    License

    ISC

    Unpacked Size

    8.86 kB

    Total Files

    3

    Last publish

    Collaborators

    • onion2k