Flag - Algorithm method Space bar - Randomized method
First, the algorithm decides on how much the color and shade changes. This is for the second, third, and fourth bar. The algorithm decides what color and shade the top is. Then, on the next bar, it takes the last bars color and adds the color changing value from step one. Then, adds the shade changer from the first step to the last bar's shade. It does that for the other bars and the algorithm is complete.