int x = 0; int y = 0; void setup() { size(400, 400); background(0); smooth(); // Start the TeddyBear in the bottom lefthand corner of the screen x = 0; y = 400; } void draw() { // Move the TeddyBear 1 pixel to the right x = x + 1; // Check if TeddyBear is over the right edge of the sketch if(x > 400) { x = 0; } // Move TeddyBear 1 pixel up y = y - 1; // Check if TeddyBear is over the top edge of the sketch if(y < 0) { y = 400; } background(0); stroke(200,0,200); strokeWeight(1); fill(200,0,200); // purple is fun! ellipse(x, y, 30, 30); // body ellipse(x, y - 22, 20, 20); // head ellipse(x + 6, y - 33, 3, 3); // arms ellipse(x - 6, y - 33, 3, 3); ellipse(x + 16, y - 5, 8, 8); // arms ellipse(x - 16, y - 5, 8, 8); ellipse(x + 12, y + 15, 11, 11); // legs ellipse(x - 12, y + 15, 11, 11); }