how can I draw something like this?
I want to make something like this, but I cannot figure out how..
Those 4 black blocks are on one page. I guess I should use rotate and translate......
I want to make something like this, but I cannot figure out how..
Those 4 black blocks are on one page. I guess I should use rotate and translate......
Yes, it is part of Korean flag : )...wow!
and, here is the block that is horizontal....
void setup(){
fill(255);
size(600, 400);
fill(0);
//first
rect(40, 40, 100, 20);
rect(40, 70, 100, 20);
rect(40, 100, 100, 20);
//second
rect(400, 40, 40, 20);
rect(460, 40, 40, 20);
rect(400, 70, 100, 20);
rect(400, 100, 40, 20);
rect(460, 100, 40, 20);
//third
rect(40, 300, 100, 20);
rect(40, 330, 40, 20);
rect(100, 330, 40, 20);
rect(40, 360, 100, 20);
//fourth
rect(400, 300, 40, 20);
rect(460, 300, 40, 20);
rect(400, 330, 40, 20);
rect(460, 330, 40, 20);
rect(400, 360, 40, 20);
rect(460, 360, 40, 20);
}