Once downloaded, add this filter.js file into the folder you just extracted. This will serve
as the starting point for your MP.
Completing the MP
Part 1: Three Colors
As part of Lab 3, you created an "Illinify" filter where you converted an image to only shades of
blue and orange.
For this first part of this MP, create a new filter that converts an image to only three hues. You
should pick hues that are somewhat different (eg: no light orange and medium orange, as a general rule the
hues should be at least 40 degrees apart from each other).
Make sure to add the filter to the filters variable as the bottom of filters.js.
Part 2: Three More Filters
To complete this lab, you must create three new, unique filters:
At least one of these three filters must do something you have not seen in lecture or lab. This means at least one
filter cannot re-color an image to different shades of colors or simply apply a color filter on top of the entire
image. Think of something cool you want to do with the image and do it!
All filters must work on any color image and change that image in some way. We will test your code will images
that have a large range of colors. It is not necessary for you filter to change a black and white image if
your filter only deals with colors.
Submission and Grading
Your program must run to receive any credit at all. If an error occurs so that we are unable to run the program,
we will not fix the error in your code. We will award points for your program completing the following:
4 pts, "Three Color Filter" (Part 1)
8 pts, one additional filter that must be creative and different (Part 2)
8 pts (2 x 4pts), two additional new filters (Part 2)