Created
June 8, 2013 11:54
-
-
Save ozw-sei/5734943 to your computer and use it in GitHub Desktop.
Processing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PImage b; | |
void setup(){ | |
b=loadImage("lena.jpg"); | |
size(b.width,b.height); | |
} | |
void draw(){ | |
background(255); | |
for(int i=0;i<b.height;i+=2){ | |
for(int j=0;j<b.width;j+=2){ | |
set(j,i,b.get(j,i)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
薄くする。