• fullscreen
  • moutains.pde
  • float p;void setup(){size(240,120);}void draw(){background(255);p+=.01;for(int i=0;i<4;i++){for(float x=0;x<width;x++){stroke(200-i*50);line(x,height,x,height-noise(10*i+p+x/width)*(height-20*i));}}}
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement


    antiplastik

    mountains

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

    tiny sketch competition submission

    Patrick May
    14 Aug 2009
    elegant
    Patrick May
    14 Aug 2009
    In support of this entry, I'd like to note that it comes in at 200 characters if you remove the comment and a trailing space.
    Ryan Alexander
    15 Aug 2009
    yeah! nice one.
    antiplastik
    17 Aug 2009
    edit: I removed the useless comment lines X-) - thanks
    Jean-Michel
    22 Aug 2009
    I like it, simple and elegant.
    You need to login/register to comment.