void setup(){
size(340,255);
smooth();
}
void draw(){
background(0);
for(int i=0; i<320; i+=12){
for(int j=0; j<240; j+=20){
stroke(255,80);
line(0+i,0+j,mouseX,mouseY);
line(0+i,0+j,mouseX+j,mouseY+i);
line(1024-i,768-j,mouseX,mouseY);
line(1024-i,768-j,mouseX+j,mouseY+i);
line(1024-i,0+j,mouseX,mouseY);
line(1024-i,0+j,mouseX+j,mouseY+i);
line(0+i,768-j,mouseX,mouseY);
line(0+i,768-j,mouseX+j,mouseY+i);
}
}
}