int value = 255; int c = 255; int c2 = 255; void setup(){ size(400, 400); background(200,0, 100); } void draw(){ drawOverload(); drawOverload(300,300); drawOverload(85,110,11); drawOverload(40,50,60); drawOverload(15,78,210); } void drawOverload(){ c = c - 3; c2 = c2 - 2; value = value - 1; if (value < 0) { value = 255; } if (c < 3) { c = 255; } if (c2 < 2) { c2 = 255; } fill(value, c, c2); ellipse(115,115, value, value); } void drawOverload(int value, int c, int c2){ c = c - 3; c2 = c2 - 2; value = value - 1; if (value < 0) { value = 255; } if (c < 3) { c = 255; } if (c2 < 2) { c2 = 255; } fill(value, c, c2); ellipse(115,115, value, value); } void drawOverload(int tempX, int tempY){ int x = tempX; int y= tempY; c = c - 3; c2 = c2 - 2; value = value - 1; if (value < 0) { value = 255; } if (c < 3) { c = 255; } if (c2 < 2) { c2 = 255; } fill(value, c, c2); ellipse(x,y, value, value); }