parseSvgPathData
parseSvgPathData copied to clipboard
ClosePath has no startPath (with dyi fix)
Hey there,
I'm implementing this into a canvas engine where I can morph shapes, I wanted to mention on implementing this on loop the old drawing stays on the stage and I was wondering why and found that your ctx.closetPath() has no beginPath() When I added it to the init() at the end - ctx.beginPath() the problem went away :)
Maybe its just be but yeah clearing the canvas context on every frame didnt help, adding that beginPath to your lib did
Thanks!