CSE8A_HW5 - Homework 5 More Collage Fun Due 5:00pm Friday...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework 5: More Collage Fun Due: 5:00pm, Friday, February 11th Set Up Open your home directory (double click on your cs8wxx icon; 2 nd icon from the top) and create a new directory in your home directory called hw5 (all lowercase). Copy the folder bookClasses from your Desktop into the hw5 directory. o Right click on bookClasses > Copy > Right click on hw5 > Paste Into Folder When you work in Dr. Java be sure you are editing files in the hw5/bookClasses directory. 1. Collage For this homework, you are going to write a program that uses at least 4 images to create a collage. The four images can each be duplicated in the collage. Every image should appear at least once with a filter on it. You can apply more than one filter to an image if you like. Really, just be creative . This HW is a continuation of HW4A. You will be making another collage. This time you will use at least 4 different pictures. Each picture will go through (at least) one filter. You have to have at least two new filters that are not from the textbook. These must be unique methods that you write, that do something more then just changing the color of the picture. Overall, you should have at least 4 different pictures all filtered with 4 different filters, all on one canvas in an interesting way. There should be NO white space on your canvas at all. You can choose to overlap your pictures if needed to remove whitespace. Here are the steps you will take to accomplish what is said above: head2right Filtering o Add at least two new filter methods to Picture.java that do not come from the textbook. o Your new methods must use an if statement . (Think of the cool things you can do with if statements!) You also must say in your comment for the method if your if statement has to do with the location (coordinates) of the pixel, the color of the pixel, or both.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern