SVG Bezier Curve that does nothing | SoloLearn: Learn to code for FREE!


SVG Bezier Curve that does nothing

I try to morphose SVG paths. It works more or less. At the moment I struggle with Bezier curves: If path1 has from data eg 17 a Bezier Curve, I add it to path2 as c0 0 0 0 0 0 My hope was, that it does nothing.But it changes much. See here, where the first path has 2 c0 0 0 0 0 0 It should be the letter 0, but the beziers destroy it. What can I do?

9/22/2020 3:42:47 PM


4 Answers

New Answer


my transformator is this:


Frogged File "./Playground/", line 1 shapes = {"c":["c0","0","0","0","0","0"],"m":["m0","0"],"l":["l0","0"], "h":["h0"]"v":["v0"]} ^ SyntaxError: invalid syntax


Alexander Thiem done.. thanks


I fear I cant help you anymore, but what your code does at the moment is fascinating and looks very complex!