Ocz – Just some googly eyes
Fair warning: this library is pretty useless. And only moderately fun... 🤷
But it seemed like a cool way to learn a bit about web components, so here it is: a component that creates googly eyes that follow your mouse.
(browser support is not perfect and the whole concept doesn't make much sense of mobile, so if it doesn't look right for you, well, tough luck 🤷)
Installation
You can install Ocz as a node module:
$ npm i --save avris-ocz
or
$ yarn add avris-ocz
Or use a CDN:
<script src="https://glcdn.githack.com/Avris/Ocz/raw/v0.0.1/src/ocz.js"></script>
Usage
Check out the demo.
Copyright
- Author: Andre Prusinowski (Avris.it)
- Licence: MIT