let img;
let cnv;
function preload(){
img = loadImage ('sara_photo_1.png');
}
function setup() {
cnv=createCanvas(img.width, img.height);
//print(img.width, img.height); //for curiosity
let newCanvasX = (windowWidth - img.width)/2;
let newCanvasY = (windowHeight - img.height)/2;
cnv.position(newCanvasX, newCanvasY);
}
function draw(){
background(225);
//acces the pixel information of the iamge
for(let col= 0; col