출석
김남윤, 최주영, 양정애, 변수홍, 전주영, 유승환, 김상은, 김후동, //박상현
다음주 과제..
자기만의 시계 만들어 오기
방학끝나고 전시할 작품 컨셉다음주에 발표하도록 해오기.
필수로 해올 것은.. 컨셉, 브레인 스토밍, 레퍼런스 가져올 것 ..
다음주 발표 (다시 전에 했던 조대로 다시 돌아가기로 했음)
기창, 정애
프로세싱책 shape2 vertices (69page)
오늘 공부한 내용
//camera
import processing.video.*;
Capture camera;
void setup() {
size (640, 480);
colorMode(HSB, 256);
noStroke();
camera = new Capture(this, width, height, 12);
loadPixels();
camera.loadPixels();
}
void draw() {
background(0);
for(int y=0 ; y < height ; y+=10) {
for(int x=0 ; x < width ; x+=10) {
int pos = (y * width) + x;
color c = camera.pixels[pos];
float h = hue(c);
float s = saturation(c);
float b = 20 * brightness(c) / 256;
fill(h, s, 256);
ellipse(x, y, b, b);
}
}
}
void captureEvent(Capture camera) {
camera.read();
}
김남윤, 최주영, 양정애, 변수홍, 전주영, 유승환, 김상은, 김후동, //박상현
다음주 과제..
자기만의 시계 만들어 오기
방학끝나고 전시할 작품 컨셉다음주에 발표하도록 해오기.
필수로 해올 것은.. 컨셉, 브레인 스토밍, 레퍼런스 가져올 것 ..
다음주 발표 (다시 전에 했던 조대로 다시 돌아가기로 했음)
기창, 정애
프로세싱책 shape2 vertices (69page)
오늘 공부한 내용
//camera
import processing.video.*;
Capture camera;
void setup() {
size (640, 480);
colorMode(HSB, 256);
noStroke();
camera = new Capture(this, width, height, 12);
loadPixels();
camera.loadPixels();
}
void draw() {
background(0);
for(int y=0 ; y < height ; y+=10) {
for(int x=0 ; x < width ; x+=10) {
int pos = (y * width) + x;
color c = camera.pixels[pos];
float h = hue(c);
float s = saturation(c);
float b = 20 * brightness(c) / 256;
fill(h, s, 256);
ellipse(x, y, b, b);
}
}
}
void captureEvent(Capture camera) {
camera.read();
}