Jump to content
GreenSock

uiguy

Recreate Text Animation

Recommended Posts

Yep, SplitText is great for splitting the text like that. Here's an untested conversion of that code into GSAP code:

var mySplit = new SplitText(myWord, {type: "chars"});
gsap.timeline({repeat: -1})
  .from(mySplit.chars, {
    rotateY: -90,
    duration: 1.3,
    stagger: 0.45
  })
  .to(myWord, {
    opacity: 0,
    duration: 1,
    easing: "power4",
    delay: 1
  });

 

  • Like 4
Link to comment
Share on other sites

  • 4 weeks later...

For this type of text animation:

 

https://tobiasahlin.com/moving-letters/#6

 

Where the text moves in/out of a masked area, how would you approach it? I'm looking to animate in long text blocks, line by line. It would need to accommodate different text block widths from the browser window which makes me wonder how the masking could also be dynamic. 

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×