Jump to content
Search Community

TrinhVanDan

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by TrinhVanDan

  1. 23 hours ago, PointC said:

    I'd start by forking that demo and then convert the x/y coordinates he's using for use with the Bezier plugin. Check out the docs here:

     

    https://greensock.com/docs/Plugins/BezierPlugin

     

    Once you've done that, you can get help with your GSAP related questions by posting your demo and question back here.

     

    Happy tweening.

    :)

     

    My demo is basic.  I want to move light first slow, after that fast, and some repeat time, it slow down and stop. How to do that. Thanks

     

    See the Pen XaBMYx by tvd83 (@tvd83) on CodePen

     

  2. 29 minutes ago, PointC said:

    Sounds like you want to ease into the animation and then ease out of it. Please take a look at the easing docs here:

     

    https://greensock.com/docs/Easing

     

    If you have a specific GSAP question, please provide a demo. More info:

     

    Thanks and happy tweening.

    :)

     

    I want to create tween like that: 

    See the Pen qdmPGr?editors=0010 by simonswiss (@simonswiss) on CodePen

    .How to use bezier plugin in timeline  fromto

  3. I use tweenmax 1.20.2 to tween object in canvas. I use lagSmoothing to make sure the tween run when my tab is not active. but it doesn't work. It works with version 1.91.1.

    here is my code: 

    window.addEventListener('blur', function () {
        TweenLite.lagSmoothing(0);
    }, false);
    
    
    window.addEventListener('focus', function () {
        TweenLite.lagSmoothing(1000, 16);
    }, false);

     

    How to run with tweenmax 1.20.2. Thanks

×
×
  • Create New...