curveVertex03
void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); noStroke(); } void draw() { fill(0, 0, 100, 20); rect(0, 0, width, height); fill(80, 70, 80, 50); beginShape(); curveVertex(random(width), random(height)); curveVertex(random(width), random(height)); curveVertex(random(width), random(height)); curveVertex(random(width), random(height)); curveVertex(random(width), random(height)); curveVertex(random(width), random(height)); curveVertex(random(width), random(height)); curveVertex(random(width), random(height)); curveVertex(random(width), random(height)); curveVertex(random(width), random(height)); endShape(); }
なにも考えずに書いても,Processingはそれらしいものを返してくれる.すばらしいですね.発表の準備やら何やらで余裕がなくなってきた.