eks93 Posted November 14, 2021 Share Posted November 14, 2021 I am working on a preloader design using morphSVG and am having issues morphing shapes that come after the first morphing action. Everything seems out of place in my design and I am wondering what the issue is. Link to comment Share on other sites More sharing options...
GreenSock Posted November 14, 2021 Share Posted November 14, 2021 Welcome to the forums, @eks93. Can you please provide a minimal demo? We can't effectively troubleshoot by just looking at a screenshot of an excerpt of code. A CodePen would be great. You can fork this demo that already includes all the bonus plugins for convenience: See the Pen aYYOdN?editors=0010 by GreenSock (@GreenSock) on CodePen Just glancing at your code, I'm guessing that one of the problems is that a lot of your morphSVG values are missing the "#" or ".", indicating an ID or class selector. In other words, it's invalid selector text. "end-two", for example, instead of "#end-two". You also seem to have some invalid code, like with too many parameters. For example, tl.from("#start-two", {alpha: 0, duration: 0.25}, {alpha: 1} // <-- WHAT IS THIS? Invalid. The 3rd parameter should be the position parameter. ) I'm also curious about a few things: Why are you animating alpha instead of opacity? How did you get access to MorphSVGPlugin? I don't see a Club GreenSock membership associated with your account. It's a members-only plugin 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