@ssgoi/core
Version:
Core animation engine for SSGOI - Native app-like page transitions with spring physics
36 lines (35 loc) • 460 B
JavaScript
const s = {
stiffness: 170,
damping: 26
}, n = {
stiffness: 120,
damping: 14
}, t = {
stiffness: 180,
damping: 12
}, f = {
stiffness: 210,
damping: 20
}, i = {
stiffness: 280,
damping: 60
}, e = {
stiffness: 150,
damping: 60
}, o = {
default: s,
gentle: n,
wobbly: t,
stiff: f,
slow: i,
molasses: e
};
export {
o as config,
s as defaultSpring,
n as gentle,
e as molasses,
i as slow,
f as stiff,
t as wobbly
};