Create two arrays to hold LEDs' current and target values.

Give random color values to LED when starting and store it in currentValues.
Generate another set of random colors to be targetValues.
Add decomposed steps of transition in loop.