Generating Rainbow Colours

Sep 23, 2013 at 3:46am

Generating Rainbow Colours

I’m starting to generate patterns for the 32×16 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!

<code>

– Pasted Max Patch, click to expand. –

</code>

#265979
Sep 23, 2013 at 6:07am

Gav :)

<code>

– Pasted Max Patch, click to expand. –

</code>

#265993
Sep 23, 2013 at 6:30am

Ah yes commas! Thanks.

A simple edit and we have a bit of Acid Gingham! (http://en.wikipedia.org/wiki/Gingham)

<code>

– Pasted Max Patch, click to expand. –

</code>

#265995

You must be logged in to reply to this topic.