• fullscreen
  • sketch59157.pde
  • // Declare variables for body colour - Andrew
    float bodyR;
    float bodyG;
    float bodyB;
    size (300,300);
    line(100,36,200,36);
    rect(125,30,50,6);
    ellipseMode(CENTER);
    ellipse(150,60,50,50);
    
    line(150,60,165,65);
    line(150,70,165,65);
    line(150,65,165,65);
    fill(0);
    ellipse(140,50,8,8);
    ellipse(160,50,8,8);
    fill(255);
    ellipse(150,180,80,170);
    line(125,68,112,150);
    line(175,68,188,150);
    line(112,150,70,150);
    line(188,150,230,150);
    line(112,190,112,270);
    line(188,190,188,270);
    stroke(255);
    point(255,255);
    point(211,266);
    point(176,321);
    point(90,75);
    point(190,22);
    point(188,199);
    point(276,198);
    point(198,289);
    point(195,186);
    point(168,169);
    
    // Add random colour body segments - Andrew
    stroke(0);
    bodyR=random(255);
    bodyG=random(255);
    bodyB=random(255);
    fill(bodyR,bodyG,bodyB);
    ellipse (127,180,20,130);
    
    stroke(0);
    bodyR=random(255);
    bodyG=random(255);
    bodyB=random(255);
    fill(bodyR,bodyG,bodyB);
    ellipse (173,180,20,130);
    
    //Molly making bag with eggs for pengiun
    line(112, 150,100,175);
    stroke(250);
    line(70,150, 80,175);
    line(80,175, 100,175);
    fill(255);
    ellipse(85,160, 10,15);
    ellipse(95,160,10,15);
    
    // Kakha adding feet for stability
    fill(255);
    stroke(0);
    ellipse(100,270, 45,10);
    ellipse(200,270, 45,10);
    
    //khatuna added more eggs
    fill(255,0,0);
    ellipse(85,160, 10,15);
    ellipse(80,150, 10,15);
    ellipse(90,155, 10,15);
    fill(0,0,255);
    ellipse(80,165, 10,15);
    ellipse(95,165, 10,15);
    ellipse(95,160,10,15);
    fill(255,0,0);
    ellipse(100,155, 10,15);
    
    // Kakha adding feet for stability
    fill(0);
    
    
    ellipse(100,270, 45,10);
    ellipse(200,270, 45,10);
    
    stroke(255);
    
    ellipse (255,255, 3, 3);
    
    ellipse (211,266, 3, 3);
    
    ellipse(176,321, 3, 3);
    
    ellipse(90,75, 3, 3);
    
    ellipse(190,22, 3, 3);
    
    ellipse(188,199, 3, 3);
    
    ellipse(276,198, 3, 3);
    
    ellipse(198,289, 3, 3);
    
    ellipse(195,186, 3, 3);
    
    ellipse(168,169, 3, 3);
    

    code

    tweaks (0)

    about this sketch

    This sketch is running in HTML5 using Processingjs.

    license

    advertisement

    Tbilisi CodeCollective

    Penguin

    Add to Faves Me Likey@!
    You must login/register to add this sketch to your favorites.

    You need to login/register to comment.