Jump to content

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

chrisgannon last won the day on March 26 2014

chrisgannon had the most liked content!


  • Content Count

  • Joined

  • Last visited

  • Days Won


chrisgannon last won the day on March 26 2014

chrisgannon had the most liked content!

Community Reputation

187 Specialist

About chrisgannon

  • Rank
    Advanced Member

Contact Methods

Profile Information

  • Gender

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ok I think I have found a solution. myTimeline.labels returns an object whose keys are the label name and whose properties are their time. E.g. {labelName:12, otherLabelName: 23} So if you want the parent timeline to play from the child timeline's previous label you could write something like: parentTl.play( childTl.labels[childTl.previousLabel()] );
  2. When I type into the help search I can no results (for anything). http://greensock.com/docs#/HTML5/
  3. I have a parent timeline. I have a child timeline that I've added to the parent timeline. Both play at the same time. The child timeline has labels. I need to get the time associated with a child label so I can tell the parent timeline to go to that time. I think getLabelTime did that but it's no longer part of the 3.0 API? Is there another way?
  4. Here's a fully random version in GSAP 3.0 using the new each, wrap and repeatRefresh: https://codepen.io/chrisgannon/pen/eedc13af50b6269167c85a2667d522dc
  5. I've never liked the above 'flag' solution - it's messy and sprawling. I'd like to be able to do something like: let tl = new TimelineMax(); tl.to('#el', 2, {y: 40, repeat: -1, yoyo:true}); //later tl.repeat(0); //this would make it play to the end and stop
  6. Dear Mr. Gannon,


    How are you?

    I like and admire your works very much. Recently I am using the SVG2GIF from you and it is terrific.


    I have made a new SVG with animation using GSAP and SVG2GIF but suddenly it didn't work normally.


    Could you tell me where I have been doing wrong? Here is my pen: https://codepen.io/alexli2017/pen/qYNYJQ?editors=1010


    After the GIF rendering done, the gif which I opened in other tab showed the  BG color only.


    I have checked all the lines of this SVG , and have done comparing to my previous SVGs (which can be rendered into gif), unfortunately I still couldn't find out what is wrong.


    If this is not the right place to ask this question , please correct me. I really appreciate your help.


    Thank you very very much.


    Best Wishes,




    1. Alexli


      Dear Mr. Gannon,


      I think I have found where the problem was. There is one element on the top layer of my SVG file and in there, I found 1 attribute I have never seen:




      That element was not drawn by myself and was downloaded from a website. After I removed the attribute above. The SVG2GIF works perfectly.


      Thank you very much. I really appreciate your work and what you have done.


      Thank you and Wish you Good Health.





    2. chrisgannon


      Great to hear it!

  7. Hi Chris,


    I'm glad that you can look back in the forum.
    I admire your work!
    Therefore, the LIKES on Monday.
    You deserve a top status.


    Best regards
    Manfred Kempener (Mikel)


    1. chrisgannon


      Well I don't really deserve that because I don't post very often but thanks!

  8. chrisgannon

    Draggable Chrome

    Hey Jack, I'm running into this issue too with Spin2Win Wheel. All reports of Draggable not working are coming from Android users running Chrome. I just tried this beta version of Draggable and that has fixed it! Is this version of Draggable distributable yet? I need to offer a fix to customers sharpish.
  9. Hi, I made this tool called ScrubGSAPTimeline a while back that enables you to scrub through a timeline using your mouse. Not sure why I never posted it here. Or maybe I did - my memory is terrible. Anyway you can move your mouse out of the window to play the timeline animation and it plays from where your mouse was inside the window - so if your mouse was 45% along on the X axis of your window when it left, your animation will play from 45% of the way through the timeline's duration. You can also double click to pause scrubbing. This is useful if you want to right click and inspect an element in dev tools. You'll need to set the position of your main DIV/SVG container to absolute (I think!) otherwise you won't see the time display. I use this on every single animation project I make now so I hope you find it as useful as I do. GitHub https://github.com/chrisgannon/ScrubGSAPTimeline CodePen demo: http://codepen.io/chrisgannon/pen/zGmdBN Cheers, Chris
  10. Hey Blake, On the contrary I think there are several obvious applications but I'm sure there are many more less obvious ones - the very fact that the ease on the tween continues at the correct rate is a huge feature. Not only will gamers benefit from this but animators too. As always excellent work Blake - I'm going to take this for a proper spin this week - add it into some projects and see how I can apply it. Btw should this work with plugins like DrawSVG?
  11. Thanks for the heads up on this Carl - it looks really interesting and with some more thought I imagine there all sorts of possibilities. Out of curiosity how would this example work if you wanted the boxes to move left instead of right? I tried a few things but nothing worked. http://codepen.io/GreenSock/pen/QEdpLe I also tried it with SVG attributes using the cycle syntax which didn't work.
  12. chrisgannon

    Typewriter effect

    I've had to create an iOS typing effect recently so I thought I'd share my solution. It's not the same as the demos above but it's another approach with a similar result. http://codepen.io/chrisgannon/pen/59fc3a0af0202d2b9648443766f9afe5
  13. This looks exactly like the kind of ease I've been wanting. Back.easeIn sometimes needs a smooth easeOut and there it is - great work