Jump to content
Search Community

MorphSVG Mask

RONF test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi @RONF,

 

Welcome to GreenSock Forum.

 

I'm a bit unsure what you want to hide.
To cover the entire viewport or page, there are other, simpler ways.

 

Using a morph makes sense when polygonal surfaces are obscured.

 

How about an example in a CodePen ???

 

Kind regards

Mikel

 

  • Like 1
Link to comment
Share on other sites

Here is a codepen that does something similar to what I want, except that I would like to use svg morph rather than svg draw to reveal other objects underneath, and have those objects morph as well. My main goal is to create a morphing hex button (like the one I posted above) and have it fill in with other morphing hexagons when the mouse is hovered on it.

 

See the Pen XexgJM by PointC (@PointC) on CodePen

 

Thanks for your help so far, GSAP is great!

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...