xxxxxxxxxx
function setup() {
createCanvas(1650, 1275);
}
function draw() {
background(10);
frameRate(60);
// noLoop();
for (var x=0;x<=width;x+=110){
for (var y=0;y<=height;y+=110){
stroke(255,150,255);
line(0,637.5,x,y);
stroke(150,155,255);
line(1650,637.5,x,y);
// line(x,y,x,y);
stroke(250,155,155);
line(825,0,x,y);
stroke(150,255,155);
line(825,1275,x,y);
stroke(random(255),random(255),random(255));
line(0,0,x,y);
stroke(random(255),random(255),random(255));
line(0,1275,x,y);
stroke(random(255),random(255),random(255));
line(1650,0,x,y);
stroke(random(255),random(255),random(255));
line(1650,1275,x,y);
}
}
}
function mousePressed(){
saveCanvas();
}