How to draw smooth line through many points

That’s not how you use quadraticTo, here is a thread with a graphic of the parameters explained:

And here is your previous thread:

You will have to calculate the control vertices yourself out of each three consecutive points.
The tangent should be the orthogonal to the half enclosed angle.