format und variablen
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
void setup() {
|
||||
size(800, 600);
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background(0); // Hintergrund schwarz
|
||||
fill(255, 255, 0);
|
||||
ellipse(mouseX, mouseY, 190, 190); // Gesicht
|
||||
arc(mouseX, mouseY+10, 130, 90, radians(0), radians(180)); // Mund
|
||||
ellipse(mouseX-40, mouseY-30, 40, 40); // Auge links
|
||||
ellipse(mouseX+40, mouseY-30, 40, 40); // Auge rechts
|
||||
}
|
||||
Reference in New Issue
Block a user