CSE 470 HW#1: TWISTY!
Author: Albert De La Cruz
      
Date: January 2019
Description: This program shows a WebGL graphics object that is rotating and twisting at the same time. Part of the object is stationary
and the rest is twisting counter-clockwise and then clockwise, with its rotation depending on the vertexes distance to the origin.
How did you map color from the initial (r,g,b) to white?
HW470: I used linear interpolation to convert from the original color to the color white. The equation I used was (1.0-newTheta)*vColor.r + newTheta*1.0, where
vColor.r is the original color, in this case red, and newTheta = current_theta / max_theta to keep newTheta between 0 and 1
Resources: Prof. Angel's codes.