float r = 200; float g = 250; float b = 200; float a = 250; float diam = 20; float x = 150; float y = 150; void setup() { size(700,700); background(495); smooth(); } void draw() { // ellipse(x,y,diam,diam); float horizon; float zoogX, zoogY; { horizon= height/3; } { background( 550,210,350 ); } fill( 100,255,100 ); rect( 0,horizon, width,height-horizon ); fill( 255,255,0 ); fill( 255,0,0 ); rect( 200,horizon-80, 100,80 ); fill(0); rect( 220,horizon-60, 30,60 ); } void action() { } void show() { fill( 0,0,255 ); fill( 255,0,255 ); ellipseMode(CENTER); rectMode(CENTER); fill(0); ellipse(100,120,160,320); ellipse(100,140,160,320); stroke(0); line(40,50,60,70); line(40,60,50,60); stroke(0); fill(175); rect(mouseX,mouseY,20,100); // Draw Zoog's head stroke(0); fill(255); ellipse(mouseX,mouseY-30,60,60); }