void setup()
{
size(200,200);
smooth();
}
void draw()
{
background(255);
ellipseMode(CENTER);
rectMode(CENTER);
stroke(0);
fill(175);
rect(mouseX, mouseY, 20, 100);
// draw
stroke(0);
fill(255);
ellipse(mouseX, mouseY-30,60,60);
// draw zoog eyes
fill(0);
ellipse(mouseX-10,mouseY-25,16,32);
ellipse(mouseX+15,mouseY-25,16,32);
}
void mousePressed()
{
println("take me to your leader");
}
Thursday, 10 February 2011
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Step 1: First you need to download and install python. You can get a python installation from http://www.python.org/download/ Step 2: now...
-
In this file i purposely made mistakes to see what would happen. I hope this helps
-
to settup the database for Django step 1: go to the settings file ENGINE': 'django.db.backends.sqlite3', # Add 'postgresq...
No comments:
Post a Comment