forgethowtotalk: //gridCrusher2int[][] index, value, opacity;int threshold; void setup(){ size(720,720); threshold = 135; index = new int[width][height]; value = new int[width][height]; opacity = new int[width][height]; for (int i=0; i threshold){ pixels[k-1] = color( int(red(pixels[k+1])), int(green(pixels[k+1])), int(blue(pixels[k+1])), int(brightness(pixels[k+1])) ); } else if (brightness(pixels[k]) == threshold) { pixels[k+width] = color( int(red(pixels[k-width])), int(green(pixels[k-width])), int(blue(pixels[k-width])), int(brightness(pixels[k-width])) ); } else { pixels[k-width] = color( int(red(pixels[k+1])), int(green(pixels[k+1])), int(blue(pixels[k+1])), int(brightness(pixels[k+1])) ); } } threshold = threshold+1; } else { threshold = 153; } updatePixels();} -- source link
More pics about
skeleton-mountforgethowtotalkthotorlatex-sex-blog