Created
August 1, 2017 08:08
-
-
Save anonymous/e22250dbdfa92da59508a220b8087d9d to your computer and use it in GitHub Desktop.
This file contains 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
registerAnimator('thing', class { | |
static needsState = true; | |
animate(currentTime, effects, state) { | |
effects[0].localTime = 0.7; | |
return {myCustomVelocity: 0.4}; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment