responsive-sketchpad.js
function normalizePoint (point) {
            return {
                x: point.x * canvas.width,
                y: point.y * canvas.height
            };
        }
function normalizePoint (point) {
            return {
                x: point.x * canvas.width,
                y: point.y * canvas.height
            };
        }
function normalizePoint ( point ) { return { x : point . x * canvas . width , y : point . y * canvas . height } ; }
Since points are stored relative to the size of the canvas
this takes a point and converts it to actual x, y distances in the canvas
Since points are stored relative to the size of the canvas this takes a point and converts it to actual x y distances in the canvas