• fullscreen
  • kimyc.pde
  • PImage star;
    
    void setup(){
     size(476,351);
     background(255);    
     
        frameRate(12);
       star = loadImage("star.bmp");
       image(star, 0, 0, width, height); 
    
    }
    
    void draw(){
       star = loadImage("star.bmp");
       image(star, 0, 0, width, height); 
      
       loadPixels();
       
       for(int i = 0; i<width*height; i++){
          pixels[i] = color(pixels[i]*-5);
       }
    
       updatePixels(); 
    }
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    yongcheon.kim

    pixel

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

    pixel value is changed.

    You need to login/register to comment.