2

How do I draw a path along some defined points in a way so that the path is nicely curved and not necessary exactly touching the defined points, except the end points where the line must be ending at the exact points? I have tried with quadTo, but that gives me jagged connections between the quadTo end/start in some situations.

To illustrate what I want I have attached this example image: example

Thank you
Søren

Neigaard
  • 3,726
  • 9
  • 49
  • 85
  • see [this](http://www.antigrain.com/research/bezier_interpolation/) – pskink Sep 16 '15 at 01:34
  • and [here](https://www.particleincell.com/2012/bezier-splines/) you have arithmetic solution, the previous link was geometric one, you can access the online interactive demo [here](https://www.particleincell.com/wp-content/uploads/2012/06/circles.svg) – pskink Sep 16 '15 at 08:20
  • the second approach is easier as you have the complete source code (in javascript) – pskink Sep 16 '15 at 15:39

0 Answers0