Jump to content
Search Community

Recommended Posts

Posted

I'm trying to recreate the animation from zentry.com, specifically the effect where an SVG clipPath deforms dynamically with the mouse movement. I already have GSAP working for rotations and 3D interactions, but I can’t find a clear way to animate the clipPath by updating the path’s coordinates (M, L, Q, etc.) in real time.

What I need is guidance on how to rebuild and replace the SVG path points using GSAP’s attr: { d: "" } to achieve that smooth, responsive deformation like Zentry’s effect. Any examples or references would be greatly appreciated.

Posted

Hola @Rodrigo sorry for the absence and thanks a lot for the documentation — it really helped me achieve the effect I have so far in the CodePen. The element is already reacting to the mouse, but I’m still missing that animation where the SVG or the path gets that 3D/perspective feel.
Could you please help me with that? Thanks a lot!

My link to CodePen: 

See the Pen MYyGNdJ by Jecy2305 (@Jecy2305) on CodePen.

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