Reading pixels from an image

Ok, here is one attempt.

let img;
let x;
let y;

function setup() {
createCanvas(720, 400);
img = loadImage(‘data/moonwalk.jpg’);

}

function processit() {

for (let x = 0; x < 720; x++) {
for(let y = 0;y < 400; y++) {
col=img.get(x,y);
stroke(col);
point(x,y);

  }

}
}

function draw() {

}