daily
pattern
processing
[design] use Processing - make pattern
8:04 PM
use Processing3. I don`t use phtoshop and illustrator :D
Here source code :
void setup(){
background(0);
size(800, 800);
smooth();
//strokeWeight(1);
//noStroke();
}
void draw(){
translate(width/2, height/2);
for(float i=0; i<TWO_PI; i+=0.3){
pushMatrix();
rotate(i);
stroke(255);
strokeWeight(1);
line(0,0,15,0);
for(float j=0; j<TWO_PI; j+=0.6){
pushMatrix();
translate(300,0);
rotate(-j);
stroke(255);
strokeWeight(1);
line(0, 10, 500, 0);
popMatrix();
}
popMatrix();
}
for(float k=0; k<TWO_PI; k+=0.1){
pushMatrix();
rotate(k);
stroke(255);
strokeWeight(1);
line(0, 0, 15, 0);
for(float b=0; b<TWO_PI; b+=0.8){
pushMatrix();
rotate(b);
stroke(255);
strokeWeight(1);
line(10, 0, 200, 0);
popMatrix();
}
popMatrix();
}
}

0 개의 댓글