사용자 삽입 이미지


사용자 삽입 이미지

사용자 삽입 이미지



/***************************************
 * 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 알 수 없는 사용자