2017-09-01から1日間の記事一覧

mouseXY_rects01

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); background(0, 0, 100); noStroke(); smooth(); } void draw() { fill(0, 0, 100); rect(0, 0, width, height); translate(mouseX, mouseY); for (int i =1; i < 10; i = i +1) { fill(80/i,…