Part of a class project. Using algorithms in JS to alter an image.