int i = 100; int j = 100; int w = 100; int h = 100; int x = 50; int y = 0;
void setup() { size(500,500); background(255); }
void draw() {
rect(i,j*3,w,h); rect(i+x*2,j*3,w,h); rect(i+x*4,j*3,w,h); rect(i+x,j*2,w,h); rect(i+x*3,j*2,w,h); rect(i+x*2,j,w,h); }
|
No comments:
Post a Comment