2008.05.11 모임내용
----------------------------------------------------------------------------------------------

참고할 만한 사이트와 주로 사용되는 코드 (카메라 등)에 대한 소개 (유승환/김상은)
(processing reference 메뉴에 있습니다.)

많이 쓰이는 라이브러리 등은 processing library share 에 올려서 공유하도록 하겠습니다.


공지사항
----------------------------------------------------------------------------------------------


이번 토요일까지는 자유롭게 각자 여름 전시회때 했으면 좋을만한 작업들을 생각해와서
발표/공유하는 시간을 가질 예정입니다.

당장은 기술적으로 가능한지 여부에 너무 얽매이지 말고, 브레인 스토밍 단계라고 생각하시고

자유롭게 생각하면 좋을 것 같습니다.

다만, 말로만 설명하기보다는 간단한 스케치 등이 있으면 더 좋겠지요
.
가능하면 두 세가지 이상의 안을 생각해 오면 좋겠습니다. (실현 불가능한 안이 있을 수 있기에
)

스터디한 내용을 활용해서 어떤 컨셉을 잡고 동적인 비주얼로 나타내는 작업도 좋겠고

현재 만들고 있는 게임 등을 좀더 재미있게 발전시켜보는 방향도 좋을 듯 합니다.

토요일 6시반에 3학년과 전시회 관련 전체 미팅이 있습니다.
(3
학년 수업이 토요일 오전/오후 전부 있고 저녁 6시에 끝나는 관계로
…)
그래서 이번 모임은 저녁 5시에 하는 것으로 하겠습니다.


과제
----------------------------------------------------------------------------------------------
- 전시회 작품 컨셉, 아이디어


참고사이트 (processing reference 메뉴에도 있습니다.)
----------------------------------------------------------------------------------------------

http://webcamxtra.sourceforge.net/index.shtml
http://code.compartmental.net/tools/minim/
http://www.v3ga.net/processing/BlobDetection/index-page-home.html
http://www.realtimeart.com/index.php
http://www.silentlycrashing.net/ezgestures/
http://www.flong.com/
http://generative.info/works/2005/ptmail/
http://www.number27.org/
http://www.flight404.com/blog/
http://www.vimeo.com/137083
http://www.kinesis.be/
http://carohorn.de/anymails/
http://www.wefeelfine.org/index.html




인원현황 - 기초학과(FD3 / PD6 / CD9)
----------------------------------------------------------------------------------------------
제가 파일을 잘못 덮어쓰는 바람에 4.26, 5.3 일자 자료를 유실했습니다 ;;
? 표시된 분들은 계속 하시는 건지 불분명한 분들입니다. 확인 부탁드립니다.

    3.29 4.5 4.12 4.19 "5.10"
학과(학년) 이름 출석 출석 출석 출석 출석
CD2 박동윤 o o o o o
CD2 정용채 o o 지각 o ?
FD1 류예림 아픔 o 모델샵 o o
FD1 최윤정 o o 모델샵 o o
FD1 심혜림 집(지방) o o o o
PD1 한재석 o 결혼식 o o o
PD1 안성민 o 지방 o o o
PD1 서리진 o o o o  
PD1 박정은 o o o o o
PD1 김지연 o o o o  
PD1 형예명 o o o o
CD1 전정민 아픔 o o   ?
CD1 김지인 o 모델샵 o ?
CD1 함경석 o o o o o
CD1 이현주 o o o o  
CD1 김재인(격주) o o
CD1 설승재 o o o   o
CD1 김유정 o o o o o
CD1 이정은 o o o o 지방
CD1 박근명 o o   ?


Posted by 알 수 없는 사용자
사용자 삽입 이미지
사용자 삽입 이미지
사용자 삽입 이미지



최종이라고 하기엔 허접하지만...

startcase라는 변수를 만들어서,
시작시 화면, 게임하면, 게임종료시 화면 3가지 나오게 만들어봤습니다.
(startcase =1이면 시작화면, 2면 게임화면 이런식으로)



void setup(){
size(400,500);
frameRate(60);
}



int [] datax = {0, 100, 200, 300,400};
int [] datay = {0, 100, 200, 300,400}; // 불러올 이미지 x,y좌표값 Arrays
int countFrame = 0;
int count = 0;
int mogurax, moguray;
int startcase = 1; // set screen mode
int colorfill = 0; // set font color



void draw(){


PFont font;
font = loadFont("Arial-BoldMT-30.vlw");
textFont (font);

PImage imgBackground;
imgBackground = loadImage("backmogura.png"); //배경풀밭
PImage startimage;
startimage = loadImage("start.png"); // start image
PImage mogura, mogura2;
mogura = loadImage("mogura.jpg"); //그냥 두더지
mogura2 = loadImage("mogura2.jpg"); //맞은 두더지


image(imgBackground,0,0); // 배경 풀밭 불러옴


if (startcase == 1) {
image(startimage,70,200,286,64);
if (mousePressed == true){
if (mouseButton == LEFT){

if (((mouseX>70)&&(mouseX<356)) && ((mouseY>200)&&(mouseY<264)))
{
startcase = startcase+1; // go to game screen
}
}
}
}
else if (startcase == 2) {



countFrame++;
if(countFrame >15)
{
mogurax = datax[int(random(0,3))];
moguray = datay[int(random(0,3))]; // 두더지 출현 위치 랜덤 16가지 지정
countFrame = 0;
}

fill(255,233,108);
text(count+" hits",300,430);
fill (colorfill,0,0);
text(" QUIT GAME ", 200,470);



image(mogura,mogurax,moguray); // 그냥 두더지가 나오게 함



if (mousePressed == true){
if (mouseButton == LEFT){
if (((mouseX>mogurax)&&(mouseX ((mouseY>moguray)&&(mouseY {
// mogurax, moguray가 이미지를 불러오는 기준점이 되기 때문에
// 각각 mouseX,mouseY의 범위를 mogurax,moguray에서 100 더해준데까지 잡았습니다

count = count+1;
image(mogura2,mogurax,moguray); // 맞는 두더지가 나오게 함
countFrame = 100;
}
}
}




if (((mouseX>200)&&(mouseX<380)) && ((mouseY>450)&&(mouseY<470)))
{
// Quit game위치
colorfill = 255;

if (mousePressed == true){
if (mouseButton == LEFT){

startcase = startcase+1; // go to score screen

}
}
}

}
else if ( startcase == 3 ) {

fill( 255,255,0);
text ("YOUR SCORE",100,150);
fill(0);
text ( count + " HITS", 150,180);
fill(colorfill,0,0);
text ("RETRY", 150,300);


if (((mouseX>150)&&(mouseX<200)) && ((mouseY>270)&&(mouseY<320)))
{
// if press Retry

colorfill = 150;

if (mousePressed == true){
if (mouseButton == LEFT){


startcase = startcase-1; // Return to game
count = 0; // Reset the score
colorfill = 0; // Reset font color

}
}
}

}

}
Posted by 알 수 없는 사용자
Etc/site2008. 5. 10. 12:50
http://webcamxtra.sourceforge.net/index.shtml
http://code.compartmental.net/tools/minim/
http://www.v3ga.net/processing/BlobDetection/index-page-home.html
http://www.realtimeart.com/index.php
http://www.silentlycrashing.net/ezgestures/
http://www.flong.com/
http://generative.info/works/2005/ptmail/
http://www.number27.org/
http://www.flight404.com/blog/
http://www.vimeo.com/137083
http://www.kinesis.be/
http://carohorn.de/anymails/
http://www.wefeelfine.org/index.html
Posted by 알 수 없는 사용자
Etc/참고2008. 5. 9. 20:11
 
내일 저녁 7시에 홍대앞에서 있는 장재호선생님
세미나인데 시그 멤버중 사운드 작업에 관심있는
사람들은 같이 들으러 가도 좋을듯해서요-
나도 갈꺼니까~ 상은씨도 가자~
시그 멤버들에게도 정보 전해주세요~

--
////////////////////////
hyojung seo

http://untitled5.com
seo.hyo@gmail.com


서효정교수님께서 소개해주신 메일 내용입니다.
같이 가시죠~
Posted by 알 수 없는 사용자

사용자 삽입 이미지

사용자 삽입 이미지





void setup(){
  size(400,400);

  // 마우스 체킹 빈도를 최대한 높여야 하므로 이값은 최대한 빠르게. 물론 컴퓨터속도에 의한 제한 있음
  frameRate(60);
}

int [] datax = {0, 100, 200, 300,400};
int [] datay = {0, 100, 200, 300,400}; // 불러올 이미지 x,y좌표값 Arrays
int countFrame = 0;
int count = 0;
int mogurax, moguray;


void draw(){


  PFont font;
font = loadFont("Arial-BoldMT-30.vlw");
textFont (font);


  PImage imgBackground;
  imgBackground = loadImage("backmogura.JPG"); //배경풀밭
  PImage mogura, mogura2;
  mogura = loadImage("mogura.jpg"); //그냥 두더지
  mogura2 = loadImage("mogura2.jpg"); //맞은 두더지

 image(imgBackground,0,0);                                 
 

  countFrame++;
 
  if(countFrame >15)
  {
    mogurax = datax[int(random(0,3))];
    moguray = datay[int(random(0,3))]; // 두더지 출현 위치 랜덤 16가지 지정
    countFrame = 0; 
  }

   fill(255,233,108);
   text(count,350,380);

 image(mogura,mogurax,moguray); // 그냥 두더지가 나오게 함

 if (mousePressed == true){
 if (mouseButton == LEFT){ 

   if (((mouseX>mogurax)&&(mouseX<mogurax+100)) && ((mouseY>moguray)&&(mouseY<moguray+100)))
    {
      // mogurax, moguray가 이미지를 불러오는 기준점이 되기 때문에
      // 각각 mouseX,mouseY의 범위를 mogurax,moguray에서 100 더해준데까지 잡았습니다

     count = count+1;
     image(mogura2,mogurax,moguray); // 맞는 두더지가 나오게 함
     countFrame = 100;
 
  }
 }
 }  
      
       if (countFrame>200) {
         countFrame=0;
       }
   
}

Posted by 알 수 없는 사용자