title: How to simplify cubic bezier curve?
body: <p>I have a Cubic Bezier curve comprises of a number of segments (left image). It has some rough curvature and I need to make it smoother like the right image. This problem is somewhat like "noise reduction", how do I achieve this?</p>
  
  <p>There's similar thread <a href="https://stackoverflow.com/questions/3497694/simplifying-a-cubic-bezier-path?rq=1">here</a>, but the input is a set of point and fitting a bezier curve on it using least square, but in my problem the input is already cubic bezier.</p>
  
  <p><img src="https://i.stack.imgur.com/wX27S.png" alt="enter image description here"></p>
  
  <p><em>On image above I don't draw the segments and control points but I hope you get the idea.</em></p>