responsive-sketchpad.js
function setCanvasSize (width, height) {
            canvas.setAttribute('width', width);
            canvas.setAttribute('height', height);
            canvas.style.width = width + 'px';
            canvas.style.height = height + 'px';
        }
function setCanvasSize (width, height) {
            canvas.setAttribute('width', width);
            canvas.setAttribute('height', height);
            canvas.style.width = width + 'px';
            canvas.style.height = height + 'px';
        }
function setCanvasSize ( width , height ) { canvas . setAttribute ( 'width' , width ) ; canvas . setAttribute ( 'height' , height ) ; canvas . style . width = width + 'px' ; canvas . style . height = height + 'px' ; }
Set the size of canvas
Set the size of canvas