Generating Rainbow Colours


    Sep 23 2013 | 10:46 am
    I'm starting to generate patterns for the 32x16 Led Wall I've built. I'll probably feed it via syphon but that's another story.
    I'm looking at how to generate patterns and have written this patch to create a kind of rainbow effect.
    Do I have to create 3 separate matrices to operate on them and pack them together or is there another way? I couldn't work out how jit.op with multiple operators worked. Or perhaps I could use jit.gradient with charmap?
    I'm just learning this stuff so any tips on alternative approaches would be interesting. Thanks!