@benjohn yes indeed, with some clever tricks it can be quite useful in graphics! This is also what FastLED does:
github.com/FastLED/FastLED/wik

I like it when data is defined in a way that it naturally leads to very efficient code.