Gradients and xfades?

Apr 14, 2013 at 10:47am

Gradients and xfades?


I am working on a project with max for the first time and have become stuck. What I am trying to do is set a certain two colours in a jit.pwindow that change using sliders. E.g. I change one half of the window from red to black using a slider, and the other half from green to blue using a different slider. I have being trying to use xfade and gradient to do this, but they seem incompatible with each other. Is there something obvious i’m missing?

Here is the code I have now, hopefully it shows what I am trying to do.

– Pasted Max Patch, click to expand. –

My overall goal here is to link these four windows in a way where they change saturation and colour based on sliders, then link the sliders up to something else that moves them automatically. If i’m going about that a weird way please tell me.

Apr 15, 2013 at 9:22pm

it’s not clear from your patch what you are trying to achieve.
do you want to combine these four gradients into a single matrix?


You must be logged in to reply to this topic.