ument.getElementById('penTool');
const eraserTool=document.getElementById('eraserTool');
const polygonSelectTool=document.getElementById('polygonSelectTool');
const magicWandTool=document.getElementById('magicWandTool');
const brushSize=document.getElementById('brushSize');
const colorPicker=document.getElementById('colorPicker');
const zoomIn=document.getElementById('zoomIn');
const zoomOut=document.getElementById('zoomOut');
const resetView=document.getElementById('resetView');
const clearMaskBtn=document