sketch
function preload() {
var myImage="https://i.imgur.com/0PVv59G.jpeg";
loadedImage=loadImage(myImage);
}
function setup() {
createCanvas(400,400);
background(0);
loadedImage.resize(400,400);
loadedImage.loadPixels();
frameRate(100000000000000000000000000000000000000000000000000000000000);
}
function draw() {
var x=random(width);
var y=random(height);
var pixelx=constrain(floor(x),0,width);
var pixely=constrain(floor(y),0,height);
var pixelcolor=loadedImage.get(pixelx,pixely);
noStroke();
fill(pixelcolor);
square(x,y,random(0,5));
}