Jump to content

PointC last won the day on March 31

PointC had the most liked content!


  • Posts

  • Joined

  • Last visited

  • Days Won


PointC last won the day on March 31

PointC had the most liked content!

About PointC

Profile Information

  • Gender
  • Location
    Seattle area
  • Interests
    web design, motion graphics, 3D animation, video production, all things sci-fi, Mt. Rainier hiking and my dachshunds

Recent Profile Visitors

57,789 profile views
  1. This thread would probably be helpful for you:
  2. ahh... yes. I misunderstood the question. Sorry about that. I think I'd wire it up just like @Rodrigo showed in his answer. Happy dragging.
  3. I think you're looking for this in your console log: scScrubDragger.deltaX: ${this.x} Happy dragging.
  4. I'm kinda late to the party, but - yep I'd go with @Cassie's approach of a thin and thick "mask" element. Otherwise you'd need to break it into pieces like my calligraphy tutorial you mentioned in the original post. https://codepen.io/PointC/pen/xxZejqM/c80d6e828e061b0615a441228616fcbb Happy tweening.
  5. I'd probably add a small delay on the "reset" tween and set overwrite to true. Something like this: https://codepen.io/PointC/pen/ZEMjdLj/364a470e414172b8fbd6a7420de056f6 More info about overwrite. Happy tweening.
  6. I think that will only work if you assign the arrow function to a variable as removeEventListener requires a reference to the function. https://codepen.io/PointC/pen/RwYJXJY/58144ad0414b9266b9556f00d0b0f91c
  7. You'll need to write with an object like this: tl.to(waveAC, { morphSVG: { shape: waveA, type: "rotational", origin: "20% 0%" } }); Happy morphing.
  8. Here's one from another forum question a while back. (Can't seem to find the original thread). This one uses a cover to mask the text elements and reveal the letters. That way you don't need a duplicate target element. Just an idea. YMMV. https://codepen.io/PointC/pen/MWQJWqJ
  9. Clone and append certainly works. Depending on your needs, insertAdjacentElement() could also work. theSVG.insertAdjacentElement("afterbegin", theAppendedItem); More info: https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentElement Happy tweening.
  10. Another little trick is to create everything at 0,0 and then start moving things. That way you know exactly where everything is located. Not always feasible, but works in some cases. YMMV
  11. Exact same thing with SVG fill and the attrPlugin. Happy tweening. https://codepen.io/PointC/pen/zYJPOvr/19b1b9a98a4cd015fcdfebb25cb2d513
  12. PointC

    async morphSVG

    Sounds like you're looking for the position parameter.
  13. Congrats @Lamonier - that's great news. 🥳 I believe the current exchange rate for GSAP assisted job hunting is a Club purchase and 100 forum answers. Congrats again. We hope to see you around the forum all the time now.
  14. Please try this: onReverseComplete: function() { gsap.set(swatches[i], {clearProps: 'transform'}); },