• fullscreen
  • dreiecke.pde
  • //Carina Schweitzer 2010
    
    size (400,500);
    smooth();
    fill(0);
    background (255);
    
    float v = 0;
    for ( int i=0; i < width ; i++)
    {
      if (i <= 12)
      {
        v += i*2.38;
        pushMatrix(); // Hälfte von rechts
        translate(v, 0);
        triangle (-i, height, 1.5, 0, i+1, height);
        popMatrix();
        
        pushMatrix(); // Hälfte von links
        translate(width-v, 0);
        triangle (-i, height, 1.5, 0, i+1, height);
        popMatrix();
      }
    
    }
    
    
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Carina Schweitzer

    muster_0002

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

    You need to login/register to comment.