Skip to content

Instantly share code, notes, and snippets.

@ozw-sei
Created June 8, 2013 11:54
Show Gist options
  • Save ozw-sei/5734943 to your computer and use it in GitHub Desktop.
Save ozw-sei/5734943 to your computer and use it in GitHub Desktop.
Processing
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));
}
}
}
@ozw-sei
Copy link
Author

ozw-sei commented Jun 8, 2013

薄くする。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment