We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello! I would like to know if it's possible to access separately the values r,g and b of a color() variable. For instance, let's say I have this
color c1 = color(255,255,0);
and I want to be able to modify the R value of this variable without having to rewrite it (then NOT something like c1 = color(100,255,0)).
Any idea?
Thank you p.
Answers
https://forum.Processing.org/two/discussion/14213/accessing-the-value-of-color
https://forum.Processing.org/two/discussion/comment/56767/#Comment_56767
thank you. I actually searched in the forum but I didn't find those topics.