Jump to content
Search Community

Help on a new project in creating animated GSAP blob.

tenemus test
Moderator Tag

Recommended Posts

 

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.
 

imagGSAP.png.99c5a195d00f18f4f26729a622ef8265.png
 

 

See the Pen oNJbyWP by cyklzvdt-the-selector (@cyklzvdt-the-selector) on CodePen

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...