Jump to content
Search Community

FracArt

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by FracArt

  1. Hi Carl, first of all thank you for this great javascript library  :)

     

    In the past I used the flash version of this tool and its method LineTo(). However, in view of your last comment, I now understand why I can't find an equivalence with the JS version.

     

     

    Problem solved.

  2. Hi everybody,

     

    for a personal project I would like to build an oblique progress bar.

     

    So, my first question is: Is there a way to create dynamically and easily a Line object with Tweenmax.js?

     

    For the moment I just resize the width of a rectangle shape like this : http://jsfiddle.net/FracArt/6GJ67/2/

    Which actually works! But seems a bit "hacky".

     

    Second question, as you can notice on the jsfiddle file I tried to build an oblique progress bar on the same principle. However, when I rotate the rectangle a gap appears between the initial and final position of the bar.

    So do you have an idea of how I can correct that without doing some geometry calculations?

    (maybe a transform-origin property on the css?)

×
×
  • Create New...