Search the Community
Showing results for tags 'values'.
-
Hi there, GSAPJS does a great job to bring AS posibilities to JS. However there is one thing that seems to be missing - and i might probably be out of scope but i'll go ahead and ask: Is there a convenient way in GSAPJS to easily get values back from the transform property - scaleX, scaleY, RotationX, skewX etc... ? Or do we need to work with the 2D and 3D matrix? Right now I'm using $("selector").data(key, value) to store (set/get) these variable but I was hoping to find a better way of accessing these values in real time. Anyways, here is an example that works fine using $().d
-
I am reading Google Material animation guidelines. https://www.google.com/design/spec/animation/authentic-motion.html#authentic-motion-mass-weight Has anyone able to mimic as close as possible to it? Does anyone has a set of easing values I can plug and play? Cheers, Venn.
-
Hey all, I've have a look in previous threads re: changing target values of a tween in progress. It seems like it's accepted that you can't. At least not by some some convenient method like tween.updateValues(x: new_target_x, y: new_target_y) In my example you'll see I have nodes (circles) that move around the screen. What I want to do is draw a line tween two of the moving nodes. This is easy right. But I want to tween the line drawing so that instead of instantly drawing completely, I want it to grow from the origin node. The problem I have here is that the destination node is
-
Hey guys, Quick question that's been bothering me. Is there any way to have multiple values for repeatDelay? Example: Animation plays for 5 seconds 2 seconds delay Animation plays for 5 seconds 5 seconds delay ... Thanks, Marko
- 1 reply
-
- repeat
- repeatdelay
- (and 4 more)
-
Hi I have a question about getting a value of an object with _gsTransform. I get undefined and i have to use GreenProp to get values. I would like to know what am i doing wrong. Here is my code: TweenLite.set( picObj.picture, { scale: _s, x: _tempX, y: _tempY }); console.log("gp: ", GreenProp.x(picObj.picture)); console.log("_gsTransform: ", picObj.picture._gsTransform.x); Log from _gsTransform is undefined, log from GreenProp is a value i set. What am i doing wrong? Tnx hf Luka
- 1 reply
-
- _gstransform
- getting
-
(and 1 more)
Tagged with: