Advertisement
Guest User

Hello

a guest
Apr 20th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var tl = new TimelineMax({repeat: -1,repeatDelay: 2});
  2.  
  3. tl.to('.glitch', 0.1, {skewX:70,ease: Power4.easeInOut})
  4. .to('.glitch', 0.04, {skewX:0,ease: Power4.easeInOut})
  5. .to('.glitch', 0.04, {opacity:0})
  6. .to('.glitch', 0.04, {opacity:1})
  7. .to('.glitch', 0.04, {x:-20})
  8. .to('.glitch', 0.04, {x:0})
  9. .add("split", 0)
  10. .to('.top', 0.5, {x:-60,ease: Power4.easeInOut},'split')
  11. .to('.bottom', 0.5, {x:60,ease: Power4.easeInOut},'split')
  12. .to('.glitch', 0.08, { className: '+=redShadow'},'split')
  13.  
  14. .to('#txt', 0, { scale:1.1},'split')
  15. .to('#txt', 0, { scale:1}, "+=0.02")
  16.  
  17. .to('.glitch', 0.08, { className: '-=redShadow'}, "+=0.09")
  18. .to('.glitch', 0.03,{ className: '+=greenShadow'},'split')
  19. .to('.glitch', 0.03,{ className: '-=greenShadow'},"+=0.01")
  20.  
  21. .to('.top', 0.2, {x:0,ease: Power4.easeInOut})
  22. .to('.bottom', 0.2, {x:0,ease: Power4.easeInOut})
  23.  
  24. .to('.glitch', 0.02, {scaleY:1.1,ease: Power4.easeInOut})
  25. .to('.glitch', 0.04, {scaleY:1,ease: Power4.easeInOut})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement