2017-07-26から1日間の記事一覧

random_points02

int x = 0; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); background(0, 0, 100); } void draw() { int y = int(height/2+sin(frameCount)); point(x, y); x = x +1; } 昨日,考えていることができた.線をくねくねさせる.xの値をひとつ…

random_points01

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); } void draw() { background(0, 0, 99); for ( int x =0; x < width; x = x+5) { for (int y = 0; y < height; y = y + 10) { int nx = int(x + random(1,5)); int ny = int(y + random(1,5)…