xxxxxxxxxx
PFont myfont;
void setup()
{
size(500, 500);
myfont = createFont("sans-serif", 80);
//textMode(MODEL);
println( PFont.list() );
}
void draw()
{
background(0);
translate(mouseX+20, mouseY);
//rotate(millis()/1000.0);
fill(255, 100, 0);
textFont(myfont);
textSize(50);
textAlign(LEFT, CENTER);
//text("millis", 0, 0);
//text(millis(), 0, 0);
text("Hölle", 0, 0);
if (mousePressed == true)
{
background(172, 226, 255);
//rotate(millis()/1000.0);
fill(255, 255, 255);
textFont(myfont);
textSize(50);
textAlign(LEFT, CENTER);
//text("millis", 0, 0);
//text(millis(), 0, 0);
text("Himmel", 0, 0);
}
}