1. //More Pixel Sorting - WhiteClay
    PImage img;
    int threshold = 153;

    void setup() {
      img=loadImage(“whiteClay_720x541_000_0478.jpg”);
      size(img.width,img.height);
    }

    void draw() {
      for (int w=0; w<img.width*img.height; w++){
        img.loadPixels();
          if ((img.pixels[w]%threshold) == 0) {
            if (w > img.width) { 
              if (brightness(img.pixels[w]) > threshold) {
              img.pixels[w-img.width] = img.pixels[w];
              }
            }
          }
        img.updatePixels();
      }
      image(img,0,0);
    }

     
  1. reblobog reblogged this from forgethowtotalk
  2. buttcrackaddict likes this
  3. iamlordfancypants likes this
  4. jewjewbean95 likes this
  5. noblesquid reblogged this from forgethowtotalk
  6. smrchrdsn likes this
  7. kesyon likes this
  8. sunwillremain likes this
  9. georgeker likes this
  10. oro-blanco reblogged this from forgethowtotalk
  11. echophon likes this
  12. bionicruel likes this
  13. forgethowtotalk reblogged this from kesyon and added:
    eso es exactamente correcto, me puse los valores por encima de img.pixels[w-img.width] = img.pixels[w]; lo siento lo...
  14. kesyon reblogged this from movidareducida and added:
    Creo que va recorriendo todos los pixeles de la imágen, empezando por abajo, de tal forma que para aquellos que sean...
  15. asylunatic likes this
  16. movidareducida reblogged this from naturebendinq and added:
    no entiendo el bucle; soy un downy :________
  17. naturebendinq reblogged this from forgethowtotalk
  18. mnunu-nimune likes this
  19. lacontemplaciondelamaldad reblogged this from androidghost
  20. comftrble reblogged this from androidghost
  21. mig-29 likes this
  22. androidghost reblogged this from cdsf
  23. androidghost likes this
  24. artnatsci reblogged this from cdsf
  25. kylelabow reblogged this from cdsf
  26. cdsf reblogged this from icpbardmfa
  27. bbbbec likes this
  28. audiokayness likes this
  29. averyauditiv reblogged this from adamferriss
  30. averyauditiv likes this
  31. revetaaahw reblogged this from adamferriss
  32. armonian likes this
  33. 111amest reblogged this from adamferriss
  34. mandy1123 likes this
  35. olumculgulumsemeler reblogged this from adamferriss
  36. jovonk reblogged this from riyonek
  37. maxstewartphotography likes this
  38. maximharper likes this
  39. heartlabeledfrancis reblogged this from forgethowtotalk
  40. heartlabeledfrancis likes this
  41. fall- reblogged this from exai
  42. pneapple likes this
  43. exai reblogged this from forgethowtotalk
  44. envisagethis reblogged this from adamferriss
  45. kureikurei likes this
  46. gafanhoto1994 reblogged this from adamferriss
  47. corinnaseto reblogged this from adamferriss
  48. sophianotloren reblogged this from adamferriss
  49. sophianotloren likes this
  50. ivnl93 reblogged this from adamferriss