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

curveVertex03

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); noStroke(); } void draw() { fill(0, 0, 100, 20); rect(0, 0, width, height); fill(80, 70, 80, 50); beginShape(); curveVertex(random(width), random(hei…

vertex01

float x, y; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); background(0, 0, 100); strokeWeight(1); } void draw() { translate(-100, -100); for (int i =0; i < 100; i += 1) { translate(100, 100); x = sin(frameCount) + random(0,…

curveVertex02

float radius = 100; int centx = width/2; int centy = height/2; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); noFill(); frameRate(24); smooth(); } void draw() { noStroke(); fill(0, 0, 100, 10); re…

curveVertex01

float radius = 200; int centx = width/2; int centy = height/2; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); noStroke(); frameRate(12); smooth(); } void draw() { fill(0, 0, 100); rect(0, 0, width…

rotate_rects03

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); rectMode(CENTER); smooth(); noStroke(); background(0, 0, 100); } void draw() { pushMatrix(); translate(width/2, height/2); float a = atan2(mouseY-height/2, mouseX-width/2); rota…

Illustratorのスケッチ

オープンキャンパスで疲れ果てたので,Processingのスケッチはできず.その代わりに,Illustratorでのスケッチを載せる.来週のシンポジウム当日用のフライヤーです.

rotate_rects02

int step = 50; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); frameRate(12); noStroke(); smooth(); } void draw() { for ( int y = 0; y < height; y += step) { for ( int x = 0; x < width; x += step) { pushMatrix(); transla…

rotate_rects01

int x = 0; int y = 0; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); smooth(); rectMode(CENTER); noStroke(); background(0, 0, 0); } void draw() { fill(68, frameCount%100, 100); rect(x, y, 10, 10); rect(x, height-y, 10, 10); …

radius_lines03

int centx; int centy; float x, y; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); strokeWeight(3); frameRate(3); smooth(); int centx = 0; int centy = 0; } void draw() { noStroke(); fill(0, 0, 100, …

radius_lines02

int centx; int centy; float x, y; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); strokeWeight(3); smooth(); int centx = 0; int centy = 0; } void draw() { translate(width/2, height/2); for (int i =…

radius_lines01

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(0, 0, 100); strokeWeight(1); frameRate(10); smooth(); } void draw() { float radius = 5; int centx =width/2; int centy = height/2; float x, y; float lastx = -999;…

colors_ellipses01

int r = 1000; int b = 99; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); noStroke(); smooth(); background(0, 0, 99); } void draw() { fill(frameCount%360, 100, b); ellipse(width/2, height/2, r, r); r = r - 20; b = b -5; if (r …

move_ellipse01

int x = 0; int y = 0; boolean frag; int d = 1; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); background(0, 0, 100); noStroke(); smooth(); frag = false; } void draw() { fill(0, 0, 100); rect(0, 0, width, height); fill(#FFF41…

random_lines04

boolean frag; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100); background(360); smooth(); frameRate(10); frag = false; } void draw() { if (frag == false) { line(random(width), 0, random(width), height); frag = true; } else { l…

random_rotate_lines04

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

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

fried_egg01

void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); background(360); smooth(); frameRate(10); } void draw() { noStroke(); fill(360, 20); rect(0, 0, width, height); float y = height/2 + sin(frameCount)*10; float x = width/2 -…

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