今日のスケッチ
void setup() { size(480, 480); noStroke(); } void draw() { fill(0, 10); rect(0, 0, width, height); for(int i=0; i なにかvertex使ってぼんやりさせているうちにこうなりました。まったくゴールを意識しないで作るので、気楽なもんです。 プログラムは…
int n = 0; void setup() { size(480, 480); noStroke(); background(255); } void draw() { fill(255, 60); rect(0, 0, width, height); translate(width/2, height/2); n += 5 - ((frameCount / 600) % 2); rotate(radians(n) * 0.5f); scale((n % 10) * 0…
void setup() { size(480, 480); } void draw() { background(0); translate(width / 2, height / 2); float f = frameCount * 0.7f; float a = sin(f / 100); float b = sin(f / 300); float w = width / 2; for(int i=0; i 疲れて帰ってプログラムを書きた…