From f33257715caeef218c6dda89ac9a486cf628e361 Mon Sep 17 00:00:00 2001 From: EliPerman <145874379+EliPerman@users.noreply.github.com> Date: Sat, 23 Sep 2023 14:12:18 -0700 Subject: [PATCH 1/2] Update VirtualPet.pde --- VirtualPet.pde | 45 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/VirtualPet.pde b/VirtualPet.pde index 08ca48b8..eea02785 100644 --- a/VirtualPet.pde +++ b/VirtualPet.pde @@ -1,8 +1,41 @@ - -void setup(){ - //some of your code here -} -void draw(){ - //more of your code here +void setup() +{ + size(400,400); + background(100,150,255); } +void draw() +{ + noStroke(); + fill(255,255,255); + + //beak + triangle(125,100,125,150,50,125); + + fill(255,255,0); + + //body + ellipse(200,200,200,150); + + //tail + triangle(200,150,300,200,300,125); + + //head + ellipse(125,125,100,100); + + fill(0,0,0); + + //eye (black) + ellipse(125,125,40,40); + + fill(255,255,255); + + //eye (white) + ellipse(125+10/sqrt(2),125-10/sqrt(2),20,20); + + //label + textAlign(CENTER); + textSize(24); + fill(0,0,0); + text("DUCK",200,200); +} From 5a07bfd218b77045c9d3a8a2901107cd823b1818 Mon Sep 17 00:00:00 2001 From: EliPerman <145874379+EliPerman@users.noreply.github.com> Date: Sat, 23 Sep 2023 14:45:15 -0700 Subject: [PATCH 2/2] Update index.html --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 237da25c..1908f654 100644 --- a/index.html +++ b/index.html @@ -1,21 +1,21 @@ - Title + Virtual Pet
-

Headline

+

My Virtual Pet Duck