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
16 changes: 16 additions & 0 deletions BasicImages/BasicImages.pde
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
PImage litty;
float scalefactor = .1;
void setup(){
litty = loadImage("mega_lucario.png");
size (1000,800);
}

void draw(){
background(0);
image(litty, mouseX, mouseY, litty.width *.5, litty.height*.5);
}

void mousePressed(){
if (keyCode == UP) {

}
}
Binary file added BasicImages/data/mega_lucario.png
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/t rex.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions FilteringImages/FilteringImages.pde
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
PImage litty;
float scalefactor = .1;
void setup(){
litty = loadImage("mega_lucario.png");
size (1000,700);
}

void draw(){
background(0);
image(litty, mouseX, mouseY, litty.width *.5, litty.height*.5);

filter(INVERT);
}
Binary file added FilteringImages/data/mega_lucario.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions IndependentImagePractice/IndependentImagePractice.pde
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@

import ddf.minim.*;
import ddf.minim.analysis.*;
import ddf.minim.effects.*;
import ddf.minim.signals.*;
import ddf.minim.spi.*;
import ddf.minim.ugens.*; // imports the library to the computer

PImage fire; //Adds an image to the file
PImage snowman; //Adds an image to the file


AudioPlayer player;
Minim minim;//audio context

void setup() {
size(800, 600); //sets size of background
snowman = loadImage("snowman.jpg"); //loads the image in
fire = loadImage("fire.jpg"); // loads the image in
fire.mask(snowman); //sets a mask of the image behind the other
background (0); //sets background color
minim = new Minim(this);
player = minim.loadFile("fire sound.mp3", 2048); //loads audio file
player.play(); //plays audio file
}

void draw() {

image(snowman, 0, 0); //draws image
filter(BLUR, .7); //sets a filter for the image
filter(POSTERIZE, 20); //only allows some colors to show


image(fire, 0, 0); //draws the image
tint(255, 25); //sets opacity
}
Binary file added IndependentImagePractice/data/Supersaiyan.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/fire sound.mp3
Binary file not shown.
Binary file added IndependentImagePractice/data/fire.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/saiyan.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/snowman.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.