Prcoessing
Monday, 7 March 2011
font randomiser
PFont f;
void setup()
{
size(200,200);
frameRate(5);
f=loadFont("DialogInput-48.vlw");
}
void draw()
{
float x=random(width);
float y=random(height);
background(255);
textFont(f,20);
fill(0);
text("HELLOOOOO",x,y);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment