Share Posted June 29, 2018 I'm trying to draw two SVG paths with the DrawPlugin, I've included the plugin as well as tweenLite. TweenLite.to("#D",.001,{drawSVG:"0%"}); TweenLite.to("#enali",.001,{drawSVG:"0%"}); TweenLite.to("#D",1.61803,{drawSVG:!0,delay:.48}); TweenLite.to("#enali",.5,{drawSVG:!0,delay:2.11803}); I've used this code before. First I undraw the paths or set it to zero and then I draw the first letter and then after a delay, draw the rest of the letters. The site is here: thesouthface.co. It is still under development and is image heavy/take a while to load. But the SVG draw should be the first thing that happens. Thank you for the help! Link to comment Share on other sites More sharing options...
Share Posted June 29, 2018 I'm not seeing any strokes on the paths. DrawSVG doesn't work with fills -- only strokes. Happy tweening. Link to comment Share on other sites More sharing options...
Author Share Posted June 29, 2018 Oh, that's right. I've converted it to a stroke, but now it is not drawing. It is not showing up, but I believe that is because it is at 0% and it hasn't drawn. Might you have any suggestions on why it isn't showing up or drawing? Thank you so much! Link to comment Share on other sites More sharing options...
Share Posted June 29, 2018 hmmm... I just looked at your link again and I'm still not seeing any strokes. Here's your SVG and code dropped into a demo. I've added the stroke via CSS and all seems to be working. See the Pen YvdLdW by PointC (@PointC) on CodePen 3 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