xxxxxxxxxx
void setup()
{
size(800,800);
}
void draw()
{
PFont fontone;
PFont fonttwo;
fonttwo = createFont("sans-serif",70);
fontone = createFont("sans-serif",100);
translate(width/2, height/2);
if (mousePressed == true)
{
textFont(fontone);
textAlign(LEFT,CENTER);
background(250,255,0);
fill(0,255,0);
text("Morgen",0,0);
} else
{
textAlign(RIGHT,CENTER);
background(0);
fill(23,13,165);
textFont(fonttwo);
text("Heute",0,0);
}
}