リズムを合わせる円弧
/** * Rhythmic Arc * * @author aa_debdeb * @date 2016/02/23 */ void setup(){ size(500, 500); frameRate(30); noFill(); stroke(0); strokeWeight(8); } void draw(){ background(255); translate(width / 2, height / 2); for(int i = 0; i < 20; i++){ float diameter = 22 * i; pushMatrix(); rotate(frameCount * 0.002 * PI * i); arc(0, 0, diameter, diameter, 0, 1.7 * PI); popMatrix(); } }