size(500,500); background(255); //int c = 255; //int o = 0; //grid size change int g =50; //grid int h=0; int i=0; for ( int a = 0; a<= g; a++){ for ( int b = 0; b<= g; b++){ rect( h,i,width/g,height/g); h= h+width/g; } i=i+height/g; h=0; } stroke(0); strokeWeight(3); line(width*0.5,0,width*0.5,height*1); line(0,height*0.5,width*1,height*0.5); for (float x = 0; x=-9; u=u-1){ text(u,width*0.462,f); f = f+(height*0.05); } f = width*0.432; for( int u=-1; u>=-9; u=u-1){ text(u,f,height*0.48); f = f-(width*0.05); } f = width*0.54; for( int u=1; u<=9; u=u+1){ text(u,f,height*0.48); f = f+(width*0.05); } save("Activity12.png");