Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
rotate: () => [anime.random(-50, 50), 0],
},
translateY: () => [anime.random(-15, 15), anime.random(-200, 200)],
scale: () => [0.2, randomBetween(0.5, 1)],
translateX: t => [
t.dataset.x,
anime.random(-500, 500) + parseFloat(t.dataset.x)
],
translateY: t => [
rotateZ: () => {
return anime.random(-10, 10)
},
duration: 1000,
translateY: () => [anime.random(-100, 0), anime.random(-400, -50)],
scale: () => {
duration: () => anime.random(1000, 4000),
delay: (t, i) => i * 20,
next: () => {
return anime.random(0, 90)
},
previous: () => {
next: () => {
return anime.random(0, 25)
},
previous: () => {
translateX: () => {
return anime.random(-60, 60)
},
translateY: () => {
delay: () => anime.random(0, 80),
easing: 'easeInOutExpo',