Eclipse color array issue
in
Integration and Hardware
•
3 years ago
Hi Guys,
I get kind of confuesed using color in processing for eclipse:
normally in processing ide:
color[] canvascolor = new color[100];
in eclipse this doesn't work. looking at the reference it works for one color but doesn't for an array.
color pink = color(255,200,200);you should say:
int pink = color(255,200,200);and if you are in another class and have to refer to the "parent" PApplet:
int pink = parent.color(255,200,200);
Somebody has any suggestions?