xxxxxxxxxx
29
//Static pixels
//Created by Mirette Dahab
//December 31st, 2024
//independant work
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
for (let i = 1; i < width+200; i += 2 ){
for (let j = 1; j < height+200; j += 20 ) {
stroke(0);
strokeWeight(random(2,3));
line(-i,-j,i-50,j-50);
stroke(255);
strokeWeight(random(0,0.8));
line(i+200,j+200,-i,-j);
line(-i-700,-j-700,i,j);
}
}
}