J
J
JackShcherbakov2019-06-02 22:37:18
Canvas
JackShcherbakov, 2019-06-02 22:37:18

Correct bezier curve. How to implement?

Hello!
There is such a graph:
5cf424fa10cf9487961948.jpeg
I decided to try to make it with canvas:
https://codepen.io/CitizenOne/pen/xNMbzE?editors=1010
Question:
How to make a "smooth" line between points. I just get a straight line.
I suppose that you need to make some intermediate points, but I can not figure out how to do it.
Thanks in advance to everyone who helps!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2019-06-02
@JackShcherbakov

You need to change the coordinates of the control points

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question