Skip to content
Forum Archive

Alternative channel shift interface

5 posts

fragmer#

Alternative channel shift interface

Can you help a poor avser? 😉
I'm making a custom (dynamic) channelshift and need an interface for it. Here's a preset, the original order (3 top dots) is on top and arrows connect it to the output (3 bottom dots).
When a color on top is clicked, the arrow end will start following mouse and when I click on bottom dot, it changes the colors.
example:
before:

Red Green Blue
| | |
| | |
Red Green Blue

after:

Red Green Blue
\_/ |
/ \ |
Green Red Blue
So here's a preset that was intended to be like that (^) but is screwed up 🙂
gmegabuf(0) = output red (123 for RGB)
gmegabuf(1) = output green (-"-)
gmegabuf(2) = output blue (-"-)

So - help me please! I'll pay you 10$ via PayPal if you fix this mess 😁
hungryskull#
I don't think I can help you here. But are you sure you need that interface? If you used white dots and a colour modifier like this:
red=red*equal(q,1);
green=green*equal(q,2);
blue=blue*equal(q,3);

You could make them appear to change colour. But otherwise, I can't help.
fragmer#
Nevermidn, it works now 🙂 Took me a while to figure out, it's all those "&" and "|" logical stuff :P