tenemus Posted August 29 Share Posted August 29 Hi everyone, I am working on a project where I want to create a blob effect using GSAP. I have animated two blob SVGs using GSAP as you can see in codepen attached below, but I am still learning, and I don’t know how to do everything. I have tried everything, mask-image, -webkit-mask-image but I'm not getting the result that I want. My goal is to mask an image into the blobs, like in the image I have attached. Can anyone please help me with this? How can I use GSAP to mask an image into the blobs? Thank you in advance for your help and suggestions. See the Pen oNJbyWP by cyklzvdt-the-selector (@cyklzvdt-the-selector) on CodePen Link to comment Share on other sites More sharing options...
mvaneijgen Posted August 29 Share Posted August 29 I've found that if you make the blob 1px by 1px and use a clip-path this is possible, as per the following guide https://davesmyth.com/clip-path-scaling Then you can just animate it like you normally would. This is the only way I've found to make this work, it is a weird requirement, but it works. 3 Link to comment Share on other sites More sharing options...
tenemus Posted August 29 Author Share Posted August 29 16 minutes ago, mvaneijgen said: I've found that if you make the blob 1px by 1px and use a clip-path this is possible, as per the following guide https://davesmyth.com/clip-path-scaling Then you can just animate it like you normally would. This is the only way I've found to make this work, it is a weird requirement, but it works. Okay, I'll try it out and check if it works for me. Thanks btw. 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