• fullscreen
  • two_hundred.pde
  • int x,y,w,h,i;float d=.01;void setup(){size(w=450,h=150,P2D);}void draw(){for(y=h;--y>=0;)for(x=w;--x>=0;){set(x,y,sin(i*d*d+dist(x,y,mouseX,mouseY)/4*noise(x*d,y*d+d*d*d*i--))>.5?0xffffff:0);}}
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Ryan Alexander
    Beautiful
    Jim Fleming
    12 Aug 2009
    Very cool
    Starkes
    14 Aug 2009
    guess we all lose the contest now ;)
    nick bennett
    14 Aug 2009
    We all win by seeing this one.
    Kyle McDonald
    14 Aug 2009
    I like the phrases "size(w=450,h=150,P2D);" and "for(x=w;--x>=0;)". Two very nice tricks.
    Guigui plus+
    17 Aug 2009
    The best way to learn Perlin noise 8^)
    bitcraft
    17 Aug 2009
    I could watch this for hours!
    very nice! time to try disassemble this.
    You need to login/register to comment.