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
local SpringEasing = {} | |
-- EASING | |
local inflectX, inflectY = 0.075, 0.2 | |
local outflectX, outflectY = 1 - inflectX, 1 - inflectY | |
local decay = 12 | |
local function springIn(progress) | |
return progress ^ 4 |