Assignment two was quite interesting.
When I first opened both files I wasn't quite sure what would the end product look like. Hopefully, during lecture Professor Heap explained the end product. The descriptions or "hints" were a very useful guide to understand what was I suppose to fix. Although it seemed simple I still went to office hours and this was even more helpful! I definitely encourage you guys to go to office hours and ask questions!
The first file I opened was fx.rkt, the purpose of this was to change the color of the chameleon by averaging the intensities of the color that make up the image. The image is made up of red, green, blue and alpha (the opacity). Depending on which key you decided to press the program would average that specific color. If you decided you press all three keys r, g and b which stand for red, green and blue, respectively you would end up with a black and white image (Figure 1).

No comments:
Post a Comment