Hi, I'm trying to build an image reveal transition on a website. Found a great example on the web, copied the structure. The structure I'm basing my code is based on one rect with x, y, width and height attributes animated in a Gsap timeline and an svg clip path appended in a clip path object.
Right now the path is animated, but I can't seem to replicate exactly the effect I want.
Here's the pen of what I was able to do until now:
https://codepen.io/luigi-basile/pen/LYqOjbO
Here's a video/gif of what I would like to achieve
I can use morphSvg or other plugins but I'd like some pointers to use the right tool for the job.
Thanks as usual!