xxxxxxxxxx
21
function setup() {
createCanvas(400, 400);
noLoop();
}
function draw() {
background(220);
noStroke()
for( let w = 0; w < width; w++ ){
for( let h = 0; h < height; h++ ){
const n = noise( 0.01 * w, 0.01 + h )
fill( int( n * 255 ) )
rect( w, h, 1, 1 )
}
}
}