Share Posted April 15, 2020 Is there a way to recreate this animation in gsap. Assuming some use of split-text. https://tobiasahlin.com/moving-letters/#10 Link to comment Share on other sites More sharing options...
Share Posted April 15, 2020 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 }); 4 Link to comment Share on other sites More sharing options...
Share Posted May 8, 2020 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 More sharing options...
Share Posted May 8, 2020 Hey @kamo and welcome to the GreenSock forums! Easy, just split it twice and make sure the parent split has overflow: hidden. See the Pen bGVvZbv?editors=0010 by GreenSock (@GreenSock) on CodePen 3 2 Link to comment Share on other sites More sharing options...
Share Posted September 25, 2021 Big thanks to @ZachSaucier on this one. Helped me with a nice reveal animation today. DB 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now