2017-08-19から1日間の記事一覧

rotate_ellipse01

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); smooth(); noStroke(); background(0, 0, 100); } void draw() { translate(width/2, height/2); rotate(frameCount); fill(0, 0, 100); rect(0, 0, width, height); fill(frameCount%360, 1…