title: Simplify high-order Bezier curve
body: <p>I have an array of control points that represent a Bezier curve. It could be a fifth-order or 100-order Bezier curve, or anything in-between. I am looking for a way to simplify that Bezier curve into multiple cubic Bezier curves. An illustration below shows how tenth-degree curve can be simplified to three-degree curve, but I want to go further and simplify it to several cubic Bezier curves to achieve better approximation.</p>
  
  <p><img src="https://i.stack.imgur.com/jeji4.png" alt="http://snag.gy/aHPjc.jpg"></p>
  
  <p>Code example would be very helpful.</p>