You are on page 1of 10

20140606 12:10

Processing: Function & Transformation

01

02

03

04

int cell = 20;

size(600,600);

void Diagonal () {}

void Diagonal, void draw () {}

int i = int(random(0,2));

01

cell = 30;

strokeWeight = 3;

cell = 15;

stroke();

void vh_rect, void draw () {}

02

size(600,600);
int cell = 30;
fill();
234

pushMatrix();
popMatrix();

void Fan, void draw () {}

03

void Fan void draw () {}

size(200,200);
rectMode(CENTER);

translate(width/2,height/2);
for (int i = 0; i < 15; i ++) {
rect(0,0,200,200);
rotate(PI/12);
scale(0.8);
}

void Spiral, void draw () {}

04


setup noLoop

void setup () {
size(600,600);
;
noLoop();
}

void draw () {
;
Diagonal();
}
void Diagonal () {
;
}

You might also like