-
-
Save BenOsodrac/75684ca2557ca86cafa87f905217c5bf 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
function ease (v, pow=4) { | |
return 1 - Math.pow(1 - v, pow); | |
} | |
let easedStep = ease(i / frame); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment