'Research Topics/Processing Code share'에 해당되는 글 28건

  1. 2008.04.20 [과제080419] 박동윤
  2. 2008.04.20 [과제080419] 박동윤
  3. 2008.04.19 [과제080419] 김유정
  4. 2008.04.12 [과제080412] 함경석
  5. 2008.04.12 [과제080412] 함경석
  6. 2008.04.12 [과제080412] 이정은
  7. 2008.04.12 [과제080412] 설승재
  8. 2008.04.12 [과제080412] 김유정
  9. 2008.04.12 [과제080412] 박동윤
  10. 2008.04.12 [과제080412] 박동윤

사용자 삽입 이미지


사용자 삽입 이미지

사용자 삽입 이미지



/***************************************
 * 2008.4 Dongyoon Park
 * cre8ive.park@gmail.com
 * http://www.cre8ive.kr
 ****************************************/

// declare and initialize variables.
int tintVar=100, tintIncrease = 10;
int colorVar1, colorVar2, colorVar3, opacityVar, txtSize, txtVar;
int xpos, ypos;
String strText1 = "sadi Communication Design";
char letter = 'A';
int  deg = 0;
PFont font;


void setup()
{
  size(800,500);    // set screen size.
  background(0);  // set background color.
  smooth();
  frameRate(200);
  font = loadFont("Myriad-BdWeb-70.vlw"); 
}

void draw()
{
  colorVar1 = int(random(255));
  colorVar2 = int(random(255));
  colorVar3 = int(random(255));
  opacityVar = int(random(20,100));
  txtSize = int(random(30,300));
  txtVar = int(random(-50,50));

  xpos = int(random(width-100));
  ypos = int(random(height));
  fill(colorVar1,colorVar2, colorVar3, opacityVar);
  textFont(font);
  textSize(txtSize);

  letter += txtVar;
  text(letter, xpos, ypos);

}

Posted by 알 수 없는 사용자

사용자 삽입 이미지


/***************************************
 * 2008.4 Dongyoon Park
 * cre8ive.park@gmail.com
 * http://www.cre8ive.kr
 ****************************************/

void setup()
{
  size(800,500);    // set screen size.
  background(0);  // set background color.
  smooth();
}

// declare and initialize variables.
int tintVar=100, tintIncrease = 10;
int colorVar1, colorVar2, colorVar3, opacityVar;
int xpos, ypos;

String strText1 = "sadi Communication Design";
PFont font;
font = loadFont("Myriad-BdWeb-70.vlw"); 

void draw()
{

  colorVar1 = int(random(255));
  colorVar2 = int(random(255));
  colorVar3 = int(random(255));
  opacityVar = int(random(100));
 
  xpos = int(random(width-100));
  ypos = int(random(height));

  fill(colorVar1,colorVar2, colorVar3, opacityVar);
  textFont(font);
 
  text(strText1, xpos, ypos);
 
}

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

void setup() {
size(400,200);
noStroke( );
smooth();
background(0);
}
float randomColor = random(0,360);
int cplus=1;
float randomR = random(0,90);
float offset= 100;
float scaleVal = 90;
float angleInc=PI/18.0;
float angle = 0.0;

void draw () {

randomColor = randomColor + cplus;
if ( (randomColor<0) || (randomColor)>360)
cplus=-cplus;

for (int x = 0; x <= width ; x += 10 ){
float y = offset + (sin(angle) * scaleVal);
fill(255);
ellipse(x,y,7,7);
y = offset + (cos(angle)*scaleVal);
fill(randomColor,100,100);
ellipse(x,y,7,7);
angle += angleInc;

}
}
Posted by 알 수 없는 사용자
Posted by 알 수 없는 사용자
Posted by 알 수 없는 사용자
Posted by 알 수 없는 사용자



사용자 삽입 이미지




<background(0); 을 지운경우>

사용자 삽입 이미지


Posted by 알 수 없는 사용자
Posted by 알 수 없는 사용자
Posted by 알 수 없는 사용자
Posted by 알 수 없는 사용자