In this assignment, you will choose a programming platform for the quarter and familiarize yourself with RGB color and the ppm format.
General description Write a program that generates a picture with smooth gradations of color.
The color must be generated one pixel at a time and written to a ppm file. Here is some code to get you started. The important thing to understand in this code is how to set up an appropriate buffer for the RGB information and how to write that information out to a file. Open xv3 and load rgbcube.ppm . Experiment with reshaping the rgbcube window.