Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 26 additions & 4 deletions VirtualPet.pde
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@

void setup(){
//some of your code here
size(600,600);
background(135,206,235);
}
void draw(){
//more of your code here
fill(185,42,118);
ellipse(200,425,200,100);
fill(185,42,118);
ellipse(400,425,200,100);
fill(241,121,176);
ellipse(300,300,300,300);
fill(0,0,0);
ellipse(250,240,30,100);
fill(255,255,255);
ellipse(250,230,20,50);
fill(0,0,0);
ellipse(350,240,30,100);
fill(255,255,255);
ellipse(350,230,20,50);
fill(0,0,0);
arc(300,325,150,150,0,PI);
/*fill(0,0,0);
arc(300,315,50,95,0,PI);
fill(182,81,78);
arc(300,329,46,65,0,PI);*/
fill(231,111,166);
ellipse(460,320,100,110);
fill(231,111,166);
ellipse(160,220,100,110);
}

6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Title</title>
<title>VirtualPet Kirby</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="styles.css">
<script src="processing.js"></script>
</head>
<body>
<header>
<h1>Headline</h1>
<h1>Kirby.</h1>
</header>
<section id="content">
<canvas id="VirtualPet" data-processing-sources="VirtualPet.pde">
</canvas>
</section>
<footer>
Footer
Kirby is cute
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background-color: rgb(200,200,200);
background-color: rgb(135,206,235);
color: rgb(0,0,0);
font-family: "Open Sans", sans-serif;
text-align: center;
Expand Down