Overview
Animated display of RGB lights that automatically cycle through all possible colours. Can be expanded easily by copy & pasting the bottom part with the shift register to the right.
How it works
- Colors are looked at in HSV color space.
- Using a clock it is then iterated through the H (hue) value of that colour space.
- This value is then converted to RGB (individual values)
- Afterwards this is compacted into the single value packed RGB that can be used for lights
- There then is some compensation for latency issues arrising because of not all computations taking the same amount of time
- Finally there is a shift register to keep previous compute values and shift them forward the the next lamps
