Fall 2006»CSCI 199 Homework 2

CSCI 199 Homework 2

Assigned Date: Wednesday, Sep. 27, 2006
Due Date: Wednesday, Oct. 4, 2006
Due Time: 11:55pm

Last modified on November 20, 2006, at 03:55 PM (see updates)


This assignment focuses on creative modification of images in Python. The goal is to create aesthetic/interesting images.


Pick a few favorite images from www.sxc.hu.

Write a program that loads in an image and modifies it by mirroring both vertically and horizontally a region of the image. The region should be picked randomly. The same region should also be exposed to one or more effects from the ones available on-line (i.e., convertImageToNegative.py, convertImageToGrayscale.py) or in the book (e.g., increaseRed, darken, makeSunset, etc.). This process should be repeated a number of times (use a loop).

Experiment with variations. Again, focus mainly on creating aesthetic/interesting images.


  1. Upload the original images, and the generated images demonstrating your results by editing your page below. For each of the modified images, provide a caption that describes the process that generated it.
  2. Email your program(s) to manaris@cs.cofc.edu.
    • Use "CSCI 199: Homework 2" as the subject line.

Submit your demo images by editing your page (read password is 'enter'): Justin Ayers, Jamie Hiers, James Lopez, and Thomas Slade.