• fullscreen
  • sketch65213.pde
  • void setup(){
    size(400,400);
    background(0);
    }
    
    void draw(){
    for(int i=0;i<width;i+=5){
    for(int j=0;j<height;j+=5){
      rect(i,j,5,5);
      fill(random(255),random(255),random(255));  
      stroke(255);
    }
    }
    }

    code

    tweaks (0)

    about this sketch

    This sketch is running in HTML5 using Processingjs.

    license

    advertisement

    shihui wang

    random color rect

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

    exercise

    You need to login/register to comment.