title: How to compare shape of Bezier curves
body: <p>I want to compare 2 Bezier curves. I know coordinates of endpoints and control points, but for 2 compared curves this coordinates may not be the same. I need to compare shape of this curves. To be"true" that shapes have to be approximately the same.</p>
  
  <p>I work with javascript and paper.js. </p>
  
  <p>Please see the image:</p>
  
  <p><img src="https://i.stack.imgur.com/JpCmD.png" alt="example">
  <a href="https://habrastorage.org/files/825/6e5/36c/8256e536c9ce4f01bf12d792473038d5.png" rel="nofollow noreferrer">https://habrastorage.org/files/825/6e5/36c/8256e536c9ce4f01bf12d792473038d5.png</a></p>
  
  <p>Where is the way out? Thanx.</p>