89



//from built with processing

int MaxColor;
PFont font;

void setup(){
size(400,400);
MaxColor = 100;
colorMode(HSB,MaxColor);
background(MaxColor);
frameRate(10);

font = loadFont("BookmanOldStyle-Italic-48.vlw");
textFont(font);
textAlign(CENTER);
}

void draw(){
if(keyPressed){
fill(random(MaxColor),MaxColor,MaxColor,80);
text(key,random(width),random(height));
}
}

void keyPressed(){
switch(key){
case' ':
background(100);
break;
}
}

void mousePressed(){
save("89.jpg");
}

コメント