We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to do a simple thing (i thought) which is a gradient from one color to another on a rectangle.
However, Processing seems to handle grads differently to something like Photoshop.
If i do a grad, for example, from HSB (0,0,100) to HSB (0,0,280) it runs fully around the color wheel from 100 to 280 producing a rainbow effect.
Whereas Photoshop blends from one color directly into another.
Anyone know how Processing handles the maths here so I can avoid it?
i think the problem you have there is the HSB... using HSB it's going to interpolate through the Hues.
try using rgb mode.
how are you doing this? are you using lerpColor?