;
        polynomial_context.strokeStyle="#AA3311";
        polynomial_context.stroke();
        polynomial_context.closePath();
        polynomial_context.setLineDash([]);
    }
}


// synthesis
var synthesis_xs = [-0.5, 1.0, 7.0, 8.5];
var synthesis_ys = [ 2.0, 1.0, 6.0, 5.0];
var synthesis_n = 4;
var synthesis_i = 0;

function init_synthesis(){
    synthesis = document.getElementById("synthesis");
    var canvas_rect = synthesis.getBoundingClientRect();
    synthesis_draw(0, 0, false);

    synthesis.add