Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions BasicImages/BasicImages.pde
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
PImage littleeinsteins;
void setup(){
size(800,600);

littleeinsteins = loadImage("littleeinsteins.jpg");



}

void draw(){
image(littleeinsteins,random(width),random(height),littleeinsteins.width*random(.5,1),littleeinsteins.height*random(.5,1));
tint(random(255),random(255),random(255));

}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BasicImages/data/littleeinsteins.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions FilteringImages/FilteringImages.pde
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
PImage pr;
void setup(){
size(1200,819);
pr = loadImage("powerrangers.jpg");
imageMode(CENTER);
}

void draw(){
image(pr,600,411);
filter(INVERT);
}
Binary file added FilteringImages/data/powerrangers.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions IndependentImagePractice/IndependentImagePractice.pde
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
PImage batman, bruce,logo; //added all images
batman = loadImage("batmanmask.jpg");//initializes batman
bruce = loadImage("bruce.jpg");//initializes bruce
bruce.mask(batman);//masks bruce with batman in grayscale
imageMode(CENTER);//makes images center point the point of origin
logo = loadImage("bmlogo.jpg");//initializes logo

}

void draw() {
background(frameCount%255);//makes the background slowly go from black to white
image(logo,229,320);//places logo in the canvas
image(bruce, 229,320 );//places bruce in the canvas
filter(ERODE);//adds a filter to bruce and logo


}
Binary file added IndependentImagePractice/data/batmanmask.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IndependentImagePractice/data/bmlogo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IndependentImagePractice/data/bruce.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.