I tried to get the same result converting absolute C
commands to relative c
coordinates for cubic Bézier curves in a SVG-path d
attribute string.
In this test, both results should look the same. They are not. There must be something I don't understand.
Somebody can explain what I am missing?
I know the theory and the difference between both C
and c
.
In my eyes the numbers are okay. The result isn't.
<svg width="200" height="200" viewBox="50 100 200 200" xmlns="http://www.w3.org/2000/svg">
<g id="boom" stroke="green" stroke-width="0.75" fill="lightblue">
<path d="M 100,200 C 105,190 95,170 100,160 "/>
<path d="M 150,200 c 5,-10 -10,-20 5,-10 "/>
</g>
<g id="circles" stroke="none" fill="red">
<circle cx="105" cy="190" r="1"/>
<circle cx= "95" cy="170" r="1"/>
<circle cx="100" cy="160" r="1"/>
<circle cx="155" cy="190" r="1"/>
<circle cx="145" cy="170" r="1"/>
<circle cx="150" cy="160" r="1"/>
</g>
</svg>