Homework 2
1. create a unique and fun drawing tool, where you draw into a pixel array that’s uploaded to a texture. Try to push the drawing in different ways — not just via the circle but in other ways. Make something fun.
A simple drawing tool. Has options for 5 texture brushes, brush size, fill, eraser and clear.
2. Load in an image, and as you copy the pixels to put into a texture (see the image loading code) flip the image. Flip it in the pixel copy, not in the drawing
Evil monkey flipped in 3 different ways.

3. take a look at the loadInImageAndDrawInterpretation example — make an interesting graphical interpretation of an image — think especially about the limits of perception. have fun with this.

4. do min max contrast stretching of the image. Find the minimum and maximum values of the pixels in an image, and then convert pixels from the source to destination like ((pixel – min) / (max – min))*255. take a look at the histogram of both the source and destination. how do they compare?

5. do histogram equalization, as described here: http://en.wikipedia.org/wiki/Histogram_equalization
