• fullscreen
  • Random3.pde
  • /**
     * Random. 
     * 
     * Random numbers create the basis of this image. 
     * Each time the program is loaded the result is different. 
     */
     
    
     
    size(400, 400);
    
    
    
    smooth();
    colorMode(HSB);
    background(255);
    strokeWeight(25);
    
    translate (200,200);
    
    for(int i = 0; i < width; i++) {
      stroke  (random(150), random(200), random (255));
      float x = random(300, 300); 
      line(i, 0, x, height);
      rotate (radians (25));
      
    }
    
      
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Carina Schweitzer

    spirale

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

    Florian Jenett
    28 Apr 2010
    Nice. A small change and a big difference. Well done!
    You need to login/register to comment.