Share Posted January 15, 2013 Hello, I've been working with the Javascript version of GreenSock v 12, EaselJs, and the Canvas element. I know that the Actionscript version of Greensock has a CircluarPath2D or something something like that, but I've searched Google and the Greensock forums and cannot find a way of actual animate the drawing of a shape like in Flash. I've seen tons of examples on "Transforming" shapes, and the drawing of shapes and then put them on the screen, but not any actual on-screen animated drawing of a shape/bezier. I also, looked into svg, but did not see an option there. Is it possible to do this without using masks? If so, please provide a very simple example or send me a link to how to do this Thanks for viewing, any help will be greatly appreciated. Link to comment Share on other sites More sharing options...
Share Posted January 15, 2013 Hi, The GreenSock MotionPath tools for Javascript (which include CirclePath2D) are still under development. Our BezierPlugin, for animating along curves, doesn't natively support any drawing of curves. You can use the same points that the BezierPlugin uses for feeding into your own "path drawing" routines. Take a look at the post a and jsfiddle example here: http://forums.greens...icjs#entry25782 At this time we don't have any more resources for working with the drawing of lines. Link to comment Share on other sites More sharing options...
Author Share Posted January 16, 2013 Thanks, dude! I've seen some posts about KineticJs. I'll have to look more into it. Have a great day, J Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now