void setup() { size(400, 400); background(255); // Calling the function with different parameters drawColoredCircle(100, 200, 40, color(255, 0, 0)); drawColoredCircle(200, 200, 60, color(0, 255, 0)); drawColoredCircle(300, 200, 30, color(0, 0, 255)); } void draw() { // No animation needed } // Function with parameters: position, size, and color void drawColoredCircle(float x, float y, float radius, color c) { fill(c); noStroke(); ellipse(x, y, radius * 2, radius * 2); }