• fullscreen
  • Aros_olimpicos_pde_pde.pde
  • int x,y=0;
    
    void setup()
    {
    size(400,300); 
    smooth();
    frameRate(10);
    }
    
    void draw()
    {
    
      background(#cbcefb);
      noFill();
      strokeWeight (10); 
    
      stroke (0,0,255); 
      ellipse (80,100,100,100);
    
      stroke (0,0,0); 
      ellipse (195,100,100,100);
    
      stroke (255,0,0);
      if(x==310||y==100)
      {
        ellipse (310,100,100,100); 
      }
      else
      {
        x=(int) random(400);
        y=(int) random(300);
        ellipse (x, y,100,100); 
      }
      
      stroke (255,255,0); 
      ellipse (138,160,100,100);
    
      stroke (0,255,0); 
      ellipse (253,160,100,100);
    
    }
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    José Carlos Ramírez Epifanio

    Aros olimpicos 3

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

    You need to login/register to comment.