Share Posted October 13, 2021 Hi everyone. There's a way to implement an animation that, at the start position is a centered linear text. On scroll the text morph in a circle. i thought the fairest way might be to use text / paths in svg, and then animate the shape of the path to the scroll. these attach are the two states of animation. First is text linear. do you think it's possible to do using gsap and its plugins? Ty Link to comment Share on other sites More sharing options...
Solution Solution Share Posted October 13, 2021 Hi there Mantrone! Welcome to the forums and thanks for joining club GSAP How about something like this as a starting point? See the Pen qBXdywG?editors=1010 by GreenSock (@GreenSock) on CodePen You can control how the morph looks by tweaking the shapeIndex - read the docs for more info ☺️ 4 1 Link to comment Share on other sites More sharing options...
Share Posted October 13, 2021 Might be able to dissect this pen a bit to get what you're looking to achieve, functionality wise: See the Pen wvazXLe by elegantseagulls (@elegantseagulls) on CodePen Obviously bit more going on than what you're looking to do, but it's still tweening a path with text along it still. 4 1 Link to comment Share on other sites More sharing options...
Author Share Posted October 15, 2021 Hi, Thank you very much to everyone for your suggestions. I'd say Cassie's example is the closest. I will start develop from this. Ty Link to comment Share on other sites More sharing options...
Share Posted January 28, 2022 Hi @Cassie! What setting would you have to use to have the text on the line morph into the circle but kind of 90deg further along the circle so it sits on top of it. Thanks so much☺️ Link to comment Share on other sites More sharing options...
Share Posted January 28, 2022 It would probably be better if you create your own paths instead of using simple shapes as that will give you more control over the morphing behavior, but for demo purposes you could just rotate the element. I put it outside of the defs just so you can see it better. See the Pen oNoXppr by GreenSock (@GreenSock) on CodePen 1 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