http://www.wolframalpha.com/input?i=factorise+3x^2-12x%2B9 ## Cubic bezier control points from left to right, to be populated pts = [[-1,None], [None,None]...
(cubic_bez_x1 - cubic_bez_x0) + cubic_bez_y0 cubic_bez_y2 = cubic_bez_m3 * (cubic_bez_x2 - cubic_bez_x3) + cubic_bez_y3 if (id == id_best): path_cubic...