Created
July 31, 2019 09:17
-
-
Save riccardolardi/39c3eb1037381bf0c2232b827b70a0ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const shifty = require('shifty') | |
console.log(shifty) | |
shifty.tween({ | |
from: { | |
x: 0 | |
}, to: { | |
x: 10 | |
}, step: state => console.log(state) | |
}).then(() => console.log('done')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment