scale/ morph shape in constructor in GSAP Posted April 23, 2021 I'm trying to create an infinitely beating heart using p5js and gsap. I used constructor to make a shape and timeline to animate its size, though it doesn't work. How can I animate the variable inside the constructor? Or can I morph between 2 shape made with constructor? Thanks in advance. See the Pen jOyXdNd by morphmorph (@morphmorph) on CodePen
scale/ morph shape in constructor
in GSAP
Posted
I'm trying to create an infinitely beating heart using p5js and gsap.
I used constructor to make a shape and timeline to animate its size, though it doesn't work.
How can I animate the variable inside the constructor? Or can I morph between 2 shape made with constructor?
Thanks in advance.
See the Pen jOyXdNd by morphmorph (@morphmorph) on CodePen