Z
Z
zeni1agent2020-03-06 16:42:28
JavaScript
zeni1agent, 2020-03-06 16:42:28

Why doesn't toPath return an acute angle?

I am using the code from svg-points
And if anyone is familiar with this script please tell me
why when it returns this instead of a sharp corner My svg-morh creation code
curve: {type: "cubic", x1:0, y1:0, x2:0, y2:0}
5e6252eceaf8e691198444.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zeni1agent, 2020-03-06
@zeni1agent

I don’t know how correct my answer is, but in order for the angle to be sharp, you need

{curve: {type: "cubic", x1:1037.5, y1:403.5, x2:1037.5, y2:403.5},
x: 1037.5,
y: 403.5}

x1 = x
x2 = x
y1 = y
y2 = y

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question