Jump to content


GreenSock the right solution?

Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I've been meaning to learn GreenSock for some time and have been trying to justify the cost of onsite trainer to management for some time since we are getting asked to do more and more banner work.

But as a complete newbie to TweenLite, I am wondering if it would be a good solution to a problem we have right now.


I am drawing an arc on a canvas and am trying to tween just the endAngle var.


Since this isn't an attribute of the canvas itself, but a var within it, I'm not sure if TweenLite is what I am looking for.


I've linked to a very quickly thrown together example.


Any help would be much appreciated.

See the Pen WwrabE by anon (@anon) on CodePen

Link to comment
Share on other sites

Hi crazy1s :)


TweenLite handles tweening properties of js Objects , so pls check this out : 

See the Pen rexqwP by MAW (@MAW) on CodePen

  • Like 7
Link to comment
Share on other sites

Of course! Excellent! Will dig into this in the morning, but it looks perfect!


Thanks so much!

  • Like 1
Link to comment
Share on other sites

Great answer, Diaco.




If you have any questions about the onsite training, just let me know.

You can submit the form on the training page or contact me via PM (click on my avatar).





Link to comment
Share on other sites

Really Nice Job Diaco, with your codepen answer :)


It really shows how awesome GSAP is ;)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.