• fullscreen
  • Assignment3_1.pde
  • size (336,336);
    
    
    for (int x=30; x<width;x+=35)
    {
     if(x%2==0) {
      rectMode(CENTER);
     fill (255,0,0);
    rect(x,168,25,25);  
     
    }
    else { 
        fill(0,255,0);
     ellipse (x,168,25,25);
     
      
    }
    }
     
     
      
    
    

    code

    tweaks (0)

    about this sketch

    This sketch is running as Java applet, exported from Processing.

    license

    advertisement

    Alejandra Hurtado

    alternate shapes

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

    You need to login/register to comment.