剛剛盯著封面看看看看看 ........... 幹!好像這樣可以這樣畫厚?
原理應該差不多吧,可能作者還有給個curve或path之類的,
山寨版不求精美只求神似囉! :))))
size(600,600);
background(255);
smooth();
background(255);
smooth();
beginShape(TRIANGLE_STRIP);
for(int x = 0; x < 180; x += 1){
float k = random(-100,700);
float y = random(-100,700);
float o = random(50,300);
noStroke();
fill(0,0,255,random(10,30));
ellipse(k,y,o,o);
noFill();
stroke(255);
strokeWeight(0.2);
vertex(k,y);
fill(255);
strokeWeight(0.3);
ellipse(k,y,o/20,o/20);
}
endShape();
for(int x = 0; x < 180; x += 1){
float k = random(-100,700);
float y = random(-100,700);
float o = random(50,300);
noStroke();
fill(0,0,255,random(10,30));
ellipse(k,y,o,o);
noFill();
stroke(255);
strokeWeight(0.2);
vertex(k,y);
fill(255);
strokeWeight(0.3);
ellipse(k,y,o/20,o/20);
}
endShape();
//saveFrame("12-##.jpg");
沒有留言:
張貼留言