feat: init animation config
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
local M = {}
|
||||
|
||||
M.curves = {
|
||||
{
|
||||
name = "easeInOutExpo",
|
||||
curve = {
|
||||
type = "bezier",
|
||||
points = { { 0.87, 0 }, { 0.13, 1 } },
|
||||
},
|
||||
},
|
||||
{
|
||||
name = "rubber",
|
||||
curve = {
|
||||
type = "spring",
|
||||
mass = 1,
|
||||
stiffness = 50,
|
||||
dampening = 6,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user