Jump to content
GreenSock

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

DrawSvg and AnimateCC

Recommended Posts

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,

 

 

Link to comment
Share on other sites

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: 

 

 

Link to comment
Share on other sites

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
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.
×