creepyface-tilt
v8.2.1
Published
A point provider for [Creepyface](https://github.com/4lejandrito/creepyface) to make your face follow the [tilt of your device](https://developer.mozilla.org/en-US/docs/Web/API/Window/deviceorientation_event).
Maintainers
Readme
Creepyface Tilt ·

A point provider for Creepyface to make your face follow the tilt of your device.

Usage
<script src="https://creepyface.io/creepyface.js"></script>
<script src="https://unpkg.com/creepyface-tilt"></script>
<img
data-creepyface
data-points="tilt"
src="https://creepyface.io/img/nala/serious"
data-src-look-0="https://creepyface.io/img/nala/0"
data-src-look-45="https://creepyface.io/img/nala/45"
data-src-look-90="https://creepyface.io/img/nala/90"
data-src-look-135="https://creepyface.io/img/nala/135"
data-src-look-180="https://creepyface.io/img/nala/180"
data-src-look-225="https://creepyface.io/img/nala/225"
data-src-look-270="https://creepyface.io/img/nala/270"
data-src-look-315="https://creepyface.io/img/nala/315"
/>Run this example on codepen.
Developing
yarn devwill spin up a test page.yarn buildwill generate the production scripts under thedistfolder.
