;

function init_chebyshev(){
    for(var i = 0; i < chebyshev_n; ++i){
        chebyshev_xs[i] = chebyshev_node(i+1, chebyshev_n);
        chebyshev_ys[i] = Math.sqrt(1 - Math.pow(chebyshev_xs[i], 2))
    }
    chebyshev = document.getElementById("chebyshev");
    var canvas_rect = chebyshev.getBoundingClientRect();
    chebyshev_draw(0, 0, false);

    chebyshev.addEventListener('mousemove', function(e){
        var canvas_rect = chebyshev.getBoundingClientRect();
           chebyshev_draw(e.clientX - can