vas.releasePointerCapture(e.pointerId);
	}, false);

	canvas.addEventListener('pointermove', function(e){
		canvas_rect = canvas.getBoundingClientRect();
		const x = e.clientX - canvas_rect.left;
		const y = e.clientY - canvas_rect.top;
		if(e.buttons == 1){
			target = Math.floor(640 - y);
			path = search_path(0, 639, proportion);
			path_int = search_path_int(0, 639);
		}
		draw(canvas_name);
	}, false);

	canvas.addEventListener('pointerup', function(e){
		draw("search");
		draw("search_int");
	}, false