moved linear_interp into defines
interpolating colors, coloring differently for fast and slow sections