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

+2

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? https://code.sololearn.com/WvyA4BJ3Hiqh/#html

9/22/2020 3:42:47 PM

Frogged

4 Answers

New Answer

+2

my transformator is this: https://code.sololearn.com/c5ZVEplljLMo/?ref=app

+2

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

+2

Alexander Thiem done.. thanks

+1

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