• fullscreen
  • sketch_mar03f.pde
  • void setup(){
      size (520,260);
    //background (130,10,30);
    background (255);
    noStroke();
    frameRate(1);
    
    }
    void draw() {  
      for (int x=0; x<width; x+=52){
      for (int y=0; y<height; y+=52) {
    
      float r=random (160,205);
      float g=random (130,185);
      float b=random (50,90);
      fill(r,g,b);
      rect(x,y,52,52);
      }
    }
    }
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Miguel VIllegas

    Randomized palette.

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

    First attempts at creating a parametrized/randomized colour palette.

    You need to login/register to comment.