done renaming

This commit is contained in:
2023-09-25 18:56:08 +02:00
parent 5870c6ba9c
commit 9a3380dee1
33 changed files with 554 additions and 31 deletions

View File

@@ -0,0 +1,12 @@
void setup()
{
size(111, 77);
surface.setResizable(true);
}
void draw()
{
// Beim übertragen richtige Fenstergröße (111 x 77) in die main (setup) Methode eintragen und surface.setResizable(true) setzen
background(40, 40, 40, 256);
circle(width/2, height/2,50);
}

View File

@@ -0,0 +1,23 @@
void setup()
{
size(800, 600);
frameRate(60);
}
float second;
float offset = 0;
void draw()
{
background(40, 40, 40, 256);
//fill(0,0,0,1);
second = constrain(((float) frameCount / (float) frameRate) - offset, 0 , 1000);
if(mousePressed == true)
{
offset = second + offset ;
}
println(offset + " " + mousePressed);
textSize(50);
text(second, width / 2 -50, height/2);
}

View File

@@ -0,0 +1,13 @@
void setup()
{
size(800, 600);
}
void draw()
{
// Clear Background to prevent shadows
background(40, 40, 40, 256);
textSize(50);
text(key, width / 2, height / 2);
}