xxxxxxxxxx
26
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
fill(0, 0, 255);
ellipse(100, 100, 50);
push(); // Saves current (previous) drawing settings
fill(0, 255, 0);
ellipse(200, 100, 50);
pop(); // Restores the saved settings
ellipse(300, 100, 50);
}
// Try adding noStroke() inside the push/pop.
// Will it affect the third circle?