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

rotate_rects04

int x = 0; int y = 0; float d = 1; void setup(){ size(500, 500); colorMode(HSB, 360, 100, 100); background(0, 0, 100); noStroke(); smooth(); } void draw(){ fill(0, 0, 100, 60); rect(0, 0, width, height); pushMatrix(); translate(x, y); rota…