18 lines
278 B
JavaScript
18 lines
278 B
JavaScript
const tl = gsap.timeline();
|
|
|
|
tl.to('.stroke', {
|
|
duration: 2.5,
|
|
delay: 1.8,
|
|
strokeDashoffset: 0 }).
|
|
|
|
to('.ripple', {
|
|
duration: 4,
|
|
delay: -2,
|
|
xPercent: -50,
|
|
yPercent: -60 }).
|
|
|
|
to('#turbulence', {
|
|
duration: 1.5,
|
|
delay: -2,
|
|
attr: {
|
|
baseFrequency: '0 0' } }); |