Etc2007. 12. 1. 16:09
Etc/전시준비2007. 12. 1. 15:33
Etc2007. 11. 24. 11:20
Research Topics/Processing Studynote2007. 11. 17. 13:11
출석
김남윤, 최주영, 양정애, 변수홍, 전주영, 유승환, 김상은, 김후동, //박상현
다음주 과제..
자기만의 시계 만들어 오기
방학끝나고 전시할 작품 컨셉다음주에 발표하도록 해오기.
필수로 해올 것은.. 컨셉, 브레인 스토밍, 레퍼런스 가져올 것 ..
다음주 발표 (다시 전에 했던 조대로 다시 돌아가기로 했음)
기창, 정애
프로세싱책 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();
}
Research Topics/Processing Studynote2007. 11. 17. 11:28
void setup(){
size(1200,200);
smooth();
background(0);
strokeWeight(2);
colorMode(HSB,100);
}
void draw(){
for(int i = 0; i < width; i++) {
float h = random(2);
float s = random(100);
float b = random(100);
float a = random(100);
float x = random(0, width);
stroke(h,s,b,a);
line(i, 0, x, height);
}
}
random과 for문에 대해서 배워보는 시간이었습니다.
size(1200,200);
smooth();
background(0);
strokeWeight(2);
colorMode(HSB,100);
}
void draw(){
for(int i = 0; i < width; i++) {
float h = random(2);
float s = random(100);
float b = random(100);
float a = random(100);
float x = random(0, width);
stroke(h,s,b,a);
line(i, 0, x, height);
}
}
random과 for문에 대해서 배워보는 시간이었습니다.