2017-07-01から1ヶ月間の記事一覧

ramdom_rotate_lines02

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); strokeWeight(1); smooth(); frameRate(5); } void draw() { int xstep = 1; int ystep = 50; float lastx = -999; float lasty = -999; float ynoise = random…

ramdom_rotate_lines01

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); strokeWeight(1); smooth(); frameRate(5); } void draw() { int xstep = 1; int ystep = 50; float lastx = -999; float lasty = -999; float ynoise = random…

rotate_lines01

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(360); smooth(); } void draw() { pushMatrix(); translate(width/2, height/2); rotate(frameCount); line(0, 0, width, height); popMatrix(); } void mousePressed() { b…

random_lines03

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); strokeWeight(1); smooth(); frameRate(5); } void draw() { int xstep = 10; int ystep = 50; float lastx = -999; float lasty = -999; float ynoise = rando…

random_lines02

int step = 10; float x = 0; float y = 0; float lastx = -999; float lasty = -999; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); background(0, 0, 100); strokeWeight(5); smooth(); } void draw() { translate(0, -100); float ynoi…

random_lines01

float x = 0; float y= -999; float nx = -999; float ny = -999; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); strokeWeight(3); smooth(); } void draw() { stroke(360%random(360), 80, 100); line(x, y,…

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)…