diff --git a/BasicImages/BasicImages.pde b/BasicImages/BasicImages.pde index 8b13789..75f4140 100644 --- a/BasicImages/BasicImages.pde +++ b/BasicImages/BasicImages.pde @@ -1 +1,14 @@ +PImage trumpangry; +float scaleFactor; +void setup(){ + trumpangry = loadImage("trumppic.jpg"); + size(386, 217); + background(trumpangry); +} + +void draw(){ + noStroke(); + fill(trumpangry.get(mouseX, mouseY)); + ellipse(mouseX, mouseY, 5, 5); + } \ No newline at end of file diff --git a/BasicImages/data/hynnnrrrgh.jpg b/BasicImages/data/hynnnrrrgh.jpg new file mode 100644 index 0000000..a2789d4 Binary files /dev/null and b/BasicImages/data/hynnnrrrgh.jpg differ diff --git a/BasicImages/data/imgres.jpg b/BasicImages/data/imgres.jpg new file mode 100644 index 0000000..32acf91 Binary files /dev/null and b/BasicImages/data/imgres.jpg differ diff --git a/BasicImages/data/look up.jpg b/BasicImages/data/look up.jpg new file mode 100644 index 0000000..1c7a741 Binary files /dev/null and b/BasicImages/data/look up.jpg differ diff --git a/BasicImages/data/praiselawdjesus.jpg b/BasicImages/data/praiselawdjesus.jpg new file mode 100644 index 0000000..d4e041a Binary files /dev/null and b/BasicImages/data/praiselawdjesus.jpg differ diff --git a/BasicImages/data/trumppic.jpg b/BasicImages/data/trumppic.jpg new file mode 100644 index 0000000..718a534 Binary files /dev/null and b/BasicImages/data/trumppic.jpg differ diff --git a/FilteringImages/FilteringImages.pde b/FilteringImages/FilteringImages.pde index 8b13789..fab8091 100644 --- a/FilteringImages/FilteringImages.pde +++ b/FilteringImages/FilteringImages.pde @@ -1 +1,15 @@ +PImage disgusting; +void setup(){ + disgusting = loadImage("imgres.jpg"); + size(182, 183); +} + +void draw(){ + background(disgusting); + filter(INVERT); + noStroke(); + fill(255, 0, 0); + ellipse(72, 60, 5, 5); + ellipse(131, 62, 5, 5); +} \ No newline at end of file diff --git a/FilteringImages/data/hynnnrrrgh.jpg b/FilteringImages/data/hynnnrrrgh.jpg new file mode 100644 index 0000000..a2789d4 Binary files /dev/null and b/FilteringImages/data/hynnnrrrgh.jpg differ diff --git a/FilteringImages/data/imgres.jpg b/FilteringImages/data/imgres.jpg new file mode 100644 index 0000000..32acf91 Binary files /dev/null and b/FilteringImages/data/imgres.jpg differ diff --git a/FilteringImages/data/look up.jpg b/FilteringImages/data/look up.jpg new file mode 100644 index 0000000..1c7a741 Binary files /dev/null and b/FilteringImages/data/look up.jpg differ diff --git a/FilteringImages/data/praiselawdjesus.jpg b/FilteringImages/data/praiselawdjesus.jpg new file mode 100644 index 0000000..d1b2777 Binary files /dev/null and b/FilteringImages/data/praiselawdjesus.jpg differ diff --git a/FilteringImages/data/praiselawdjesus.psd b/FilteringImages/data/praiselawdjesus.psd new file mode 100644 index 0000000..4636598 Binary files /dev/null and b/FilteringImages/data/praiselawdjesus.psd differ diff --git a/FilteringImages/data/trumppic.jpg b/FilteringImages/data/trumppic.jpg new file mode 100644 index 0000000..718a534 Binary files /dev/null and b/FilteringImages/data/trumppic.jpg differ diff --git a/IndependentImagePractice/IndependentImagePractice.pde b/IndependentImagePractice/IndependentImagePractice.pde index 8b13789..413a710 100644 --- a/IndependentImagePractice/IndependentImagePractice.pde +++ b/IndependentImagePractice/IndependentImagePractice.pde @@ -1 +1,13 @@ +PImage pugmask, trump; +void setup(){ + pugmask = loadImage("pugmask.png"); + trump = loadImage("hynnnrrrgh.jpg"); + size(290, 174); +} + +void draw(){ + background(trump); + image(pugmask, 15, -80); + filter(INVERT); +} \ No newline at end of file diff --git a/IndependentImagePractice/data/hynnnrrrgh.jpg b/IndependentImagePractice/data/hynnnrrrgh.jpg new file mode 100644 index 0000000..a2789d4 Binary files /dev/null and b/IndependentImagePractice/data/hynnnrrrgh.jpg differ diff --git a/IndependentImagePractice/data/image (3).psd b/IndependentImagePractice/data/image (3).psd new file mode 100644 index 0000000..14a0758 Binary files /dev/null and b/IndependentImagePractice/data/image (3).psd differ diff --git a/IndependentImagePractice/data/imgres.jpg b/IndependentImagePractice/data/imgres.jpg new file mode 100644 index 0000000..32acf91 Binary files /dev/null and b/IndependentImagePractice/data/imgres.jpg differ diff --git a/IndependentImagePractice/data/look up.jpg b/IndependentImagePractice/data/look up.jpg new file mode 100644 index 0000000..1c7a741 Binary files /dev/null and b/IndependentImagePractice/data/look up.jpg differ diff --git a/IndependentImagePractice/data/praiselawdjesus.jpg b/IndependentImagePractice/data/praiselawdjesus.jpg new file mode 100644 index 0000000..d1b2777 Binary files /dev/null and b/IndependentImagePractice/data/praiselawdjesus.jpg differ diff --git a/IndependentImagePractice/data/pugmask.jpg b/IndependentImagePractice/data/pugmask.jpg new file mode 100644 index 0000000..df78bea Binary files /dev/null and b/IndependentImagePractice/data/pugmask.jpg differ diff --git a/IndependentImagePractice/data/pugmask.png b/IndependentImagePractice/data/pugmask.png new file mode 100644 index 0000000..47c2ced Binary files /dev/null and b/IndependentImagePractice/data/pugmask.png differ diff --git a/IndependentImagePractice/data/pugmask.psd b/IndependentImagePractice/data/pugmask.psd new file mode 100644 index 0000000..4373db6 Binary files /dev/null and b/IndependentImagePractice/data/pugmask.psd differ diff --git a/IndependentImagePractice/data/trumppic.jpg b/IndependentImagePractice/data/trumppic.jpg new file mode 100644 index 0000000..718a534 Binary files /dev/null and b/IndependentImagePractice/data/trumppic.jpg differ diff --git a/MaskingImages/MaskingImages.pde b/MaskingImages/MaskingImages.pde index 8b13789..f065dc9 100644 --- a/MaskingImages/MaskingImages.pde +++ b/MaskingImages/MaskingImages.pde @@ -1 +1,10 @@ +PImage demon; +PImage point; //images +void setup(){ + size(182,183); //canvas + demon = loadImage("demon trump.jpg"); + point = loadImage("trump point.jpg"); + demon.blend(point, 0, 0, 182, 183, 0, 0, 182, 183, ADD); //mask + background(demon); //cover canvas with masked image +} \ No newline at end of file diff --git a/MaskingImages/data/demon trump.jpg b/MaskingImages/data/demon trump.jpg new file mode 100644 index 0000000..119de83 Binary files /dev/null and b/MaskingImages/data/demon trump.jpg differ diff --git a/MaskingImages/data/hynnnrrrgh.jpg b/MaskingImages/data/hynnnrrrgh.jpg new file mode 100644 index 0000000..a2789d4 Binary files /dev/null and b/MaskingImages/data/hynnnrrrgh.jpg differ diff --git a/MaskingImages/data/imgres.jpg b/MaskingImages/data/imgres.jpg new file mode 100644 index 0000000..32acf91 Binary files /dev/null and b/MaskingImages/data/imgres.jpg differ diff --git a/MaskingImages/data/look up.jpg b/MaskingImages/data/look up.jpg new file mode 100644 index 0000000..1c7a741 Binary files /dev/null and b/MaskingImages/data/look up.jpg differ diff --git a/MaskingImages/data/praiselawdjesus.jpg b/MaskingImages/data/praiselawdjesus.jpg new file mode 100644 index 0000000..d4e041a Binary files /dev/null and b/MaskingImages/data/praiselawdjesus.jpg differ diff --git a/MaskingImages/data/trump point.jpg b/MaskingImages/data/trump point.jpg new file mode 100644 index 0000000..496c200 Binary files /dev/null and b/MaskingImages/data/trump point.jpg differ diff --git a/MaskingImages/data/trumppic.jpg b/MaskingImages/data/trumppic.jpg new file mode 100644 index 0000000..718a534 Binary files /dev/null and b/MaskingImages/data/trumppic.jpg differ