ordinaryJoe Posted November 25, 2023 Posted November 25, 2023 Hy, I tried converting my blob animation to GSAP 3, but am having some dificulties, this is my old code: See the Pen JjxZLKO by Josip-Bogdan (@Josip-Bogdan) on CodePen. This is my new code: See the Pen xxMzLJv by Josip-Bogdan (@Josip-Bogdan) on CodePen.
Cassie Posted November 25, 2023 Posted November 25, 2023 Could you give us more details about the 'difficulties'? I can see that the pen is animating and I don't have any context for what it was meant to look like. What is going wrong? What are you expecting? Thank you!
ordinaryJoe Posted November 25, 2023 Author Posted November 25, 2023 Hy, sory, my first post, added the old code as codepen, so you can see the difference, the rotation is going all around now 1
Solution Cassie Posted November 25, 2023 Solution Posted November 25, 2023 Thanks for that! I don't have a huge amount of time right now, so this is just a quick look. But I don't think you need motionPath plugin. If you're looking to remove the old stagger syntax and cycle I think you can just do this - See the Pen wvNXmoV?editors=0011 by GreenSock (@GreenSock) on CodePen. I think it could be simplified down more with template literals - I'm also not entirely sure what cycle is doing here, maybe you need wrap? It seems alright like this though. Is there a specific goal/part of the code you're trying to change in addition to the stagger/cycle syntax? 1
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