CS 140 - Homework 5 - Due Thursday March 12
In this homework you are going to write a program that creates a collage of images. Your collage should use at least ten different images that are layed out in a thoughtful way in a larger initially blank 700-by-700 picture.
Requirements
-
Your program should be in a folder named HW5.
-
Turn in a printout at the start of class on Thursday.
- Here is an example of a
pathetic
collage. This collage would have received a poor grade
(good thing I made it).
-
Your collage should use at least ten different images.
-
Your collage should show some planning - that you layed out the
images in a thoughtful way.
For example there shouldn't be any large open white areas between pictures.
-
Your collage should use the copyInto method to
copy an image into the larger image.
-
Your collage should use several images that are not
from my CS140 gallery. Search the web to find a few of your own.
-
Your collage should use all of the picture
methods we have developed to date including:
-
grayScale, shrink, decreaseRed,
enlarge, negative, and rotateRight
-
You should develop a rotateLeft method and use it.
-
Develop a new method named extractRed that leaves the
red in a picture but removes all of the green and blue.
- Be creative. Put some thought into your collage.
If you like the violin find an image of a violin and suck out the red.
Play Lacrosse? Find an image of a Lacrosse stick and shrink it.
Like horror movies? Give me Jason in a goalie mask. If you don't
like the violin stick a small violin in Jason's goalie mask.