Skip to content

Instantly share code, notes, and snippets.

@riccardolardi
Created July 31, 2019 09:17
Show Gist options
  • Save riccardolardi/39c3eb1037381bf0c2232b827b70a0ba to your computer and use it in GitHub Desktop.
Save riccardolardi/39c3eb1037381bf0c2232b827b70a0ba to your computer and use it in GitHub Desktop.
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