0, 465], [560, 315], [587, 172]];
	approximation_i = 0;
	draw_canvas("approximation_canvas");
}

function undo_last_for_approximation() {
	points_for_approximation.splice(-1,1);
	draw_canvas("approximation_canvas");
}

function reset_all_for_interpolation() {
	points_for_interpolation = [[37, 195], [66, 345], [197, 473], [420, 465], [560, 315], [587, 172]];
	interpolation_i = 0;
	draw_canvas("interpolation_canvas");
}

function undo_last_for_interpolation() {
	points_for_interpolation.splice(-1,1);
	draw_ca