• fullscreen
  • s99999999_200_7.pde
  • int i,x,y,w=256,b;void draw(){if((i++%2222)<1)for(y=0;y<w;y++)for(x=0;x<w;x++)set(x,y,(int)random(0xFCFCFC));filter(BLUR);b=4;blend(0,0,w,w,b,b,w-1-b-b,w-1-b-b,512);filter(DILATE);filter(ERODE);}
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    dotlassie

    Warp speed

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

    Modified version of Blur&Posterize by Jerome Saint-Clair:
    http://www.openprocessing.org/visuals/?visualID=3438

    nick bennett
    14 Aug 2009
    Interesting! I love the colors and sharp falloff to black. What is the variable 'i' initialized to that allows you to increment it in the if() statement?
    dotlassie
    14 Aug 2009
    I think i, and other variables start from zero.

    void setup(){size(w,w);}
    int i,x,y,w=256,b;
    void draw(){
      if(i++&lt;1)
        for(y=0;y&lt;w;y++)
          for(x=0;x&lt;w;x++)
            set(x,y,(int)random(0xFCFCFC));
      filter(11);
      b=2;
      blend(0,0,w,w,b,b,w-1-b-b,w-1-b-b,512);
      filter(18);
      filter(17);
    }
    Algirdas Rascius
    23 Aug 2009
    Very interesting!

    I suggest to to change condition "if(i++&lt;1)" to "if(i++%500==0)" or something similar to automatically restart with random dots.
    You need to login/register to comment.