responsive-sketchpad.js
function getPointRelativeToCanvas (point) {
            return {
                x: point.x / canvas.width,
                y: point.y / canvas.height
            };
        }
function getPointRelativeToCanvas (point) {
            return {
                x: point.x / canvas.width,
                y: point.y / canvas.height
            };
        }
function getPointRelativeToCanvas ( point ) { return { x : point . x / canvas . width , y : point . y / canvas . height } ; }
Returns a points x,y locations relative to the size of the canvase
Returns a points x y locations relative to the size of the canvase