Jump to content
Search Community

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

Posted

Hi!

 

Does anyone have any experience in animating paths (drawSvg style) with greensock in Animate CC?

Does drawSvg translate in to use in Animate CC?

 

 

regards,

 

 

Posted

Sorry, DrawSVG is only meant for actual SVGs that live in the DOM. Everything AnimateCC does gets flattened to an HTML canvas. I'm not aware of any tools that do what DrawSVG does in the AnimateCC world. My guess is that you may have to go super old-school and keyframe a mask growing to reveal a stroke like shown here: 

 

 

Posted

The way SVG paths are rendered is based on how paths work in canvas.

 

I don't know AnimateCC or EaselJS, but you need to find a way to animate the line dash of a path. Example using no canvas library.

 

See the Pen GjYpPr by osublake (@osublake) on CodePen.

 

  • Like 1

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.
×
×
  • Create New...