Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

MrDys

Members
  • Posts

    3
  • Joined

  • Last visited

MrDys's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. In the one and a half years since this question was originally posed, has there been any movement in this direction? I think I can manage to fake something similar with the DrawSVGPlugin, but I'm not sure if it'll really get me where I need to go.
  2. MrDys

    Shake animation?

    I'm trying to figure out a simple way to shake an element with GSAP. The way that Animate.css handles it, is translating 10 pixels to the left, then, 20 pixels to the right, and repeating. Makes sense. This can be replicated as-is with a rather redundant TimelineLite setup, but I was wondering if there was a cleaner GSAP approach, perhaps using yoyo and/or repeat and/or RoughEase? Something like: TweenMax.to(element, 0.1, {x:"+=20", yoyo:true, repeat:5}); really just moves the element to the right and then back to the origin. I'm looking for something that would move it to the right, back through the origin to the left, and then back to the origin. A bipolar motion, rather than a unipolar motion, if you want to think about it like that. Is there a simple, non-timeline solution?
×