zwip
v1.2.3
Published
Utility for creating JS animations on top of W3C [requestAnimationFrame](https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame) function.
Downloads
55
Maintainers
Readme
Zwip
Utility for creating JS animations on top of W3C requestAnimationFrame function.
Examples
To show it in action:
- clone the repo :
git clone https://github.com/Gastonite/zwip
- Install zwip dependencies:
- if you are using yarn :
yarn
- if you are using npm :
npm i
- After dependences are installed, go to one example directory :
cd examples/<example-name>
- install example dependencies and run dev npm script:
- if you are using yarn :
yarn && yarn dev
- if you are using npm :
npm i && npm run dev
Now the demo is visible at http://localhost:3000
Installation
- if you are using yarn :
yarn add -D zwip
- if you are using npm :
npm i -D zwip