SJH Posted November 25, 2021 Share Posted November 25, 2021 I'm using the GSAP icon in a project. Can anyone point me to the GSAP code I need to make the cape fly? It would be a shame to use the icon without any animation. See the Pen PoKrxyq by sandalwoodsh (@sandalwoodsh) on CodePen Link to comment Share on other sites More sharing options...
Solution GreenSock Posted November 25, 2021 Solution Share Posted November 25, 2021 Sure, is this what you're looking for?: See the Pen meMZZb?editors=0010 by GreenSock (@GreenSock) on CodePen Or if you just want a GIF, here's one: 2 Link to comment Share on other sites More sharing options...
SJH Posted November 25, 2021 Author Share Posted November 25, 2021 Thanks, Jack, the GSAP code version is exactly what I was looking for. Thanks for posting it for me. Looking at the code, I'm so happy I asked for it. Link to comment Share on other sites More sharing options...
SJH Posted November 25, 2021 Author Share Posted November 25, 2021 Here's a follow up question for you, Jack, or anyone else for that matter: So in the example Jack provided, the animation plays over a black background to hide parts of the animation. What would be the best way to hide these so I can use the animation on a non-black background? See the Pen eYEqWoZ by sandalwoodsh (@sandalwoodsh) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted November 26, 2021 Share Posted November 26, 2021 I guess you'd need to mask that. It's not really something I have time to do for you, sorry. Link to comment Share on other sites More sharing options...
Cassie Posted November 26, 2021 Share Posted November 26, 2021 Here you go pal! See the Pen KKvOQeL?editors=1101 by GreenSock (@GreenSock) on CodePen 5 Link to comment Share on other sites More sharing options...
SJH Posted November 27, 2021 Author Share Posted November 27, 2021 Thanks, Cassie. I was on the right track...eventually...but your correct answer saved me so much time. I really appreciated your help. Link to comment Share on other sites More sharing options...
Cassie Posted November 27, 2021 Share Posted November 27, 2021 No worries at all, I'm sure it'll come in handy for us in future too. 🥳 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