hebyshev_y_max = 1.2;

var chebyshev_client_x_center = w*(0-chebyshev_x_min)/(chebyshev_x_max-chebyshev_x_min);
var chebyshev_client_x_step = (w/(chebyshev_x_max-chebyshev_x_min));

var chebyshev_client_y_center = h - h*(0-chebyshev_y_min)/(chebyshev_y_max-chebyshev_y_min);
var chebyshev_client_y_step = (h/(chebyshev_y_max-chebyshev_y_min));

function chebyshev_client_to_x(client_x){
    return (client_x - chebyshev_client_x_center) / chebyshev_client_x_step;
}

function chebyshev_client_to_y(client_y){
   