xxxxxxxxxx
29
function setup() {
createCanvas(400, 400);
noStroke();
colorMode(HSB);
}
function draw() {
background(220);
// circles in different colored shades (MQ Assignment 2)
fill(30, 100, 100); // Orange color
ellipse(200, 200, 400, 400);
fill(0, 0, 0); // Black color
ellipse(200, 200, 300, 300);
fill(30, 100, 50); // Lighter Orange color
ellipse(200, 200, 200, 200);
fill(0, 0, 0); // Black color
ellipse(200, 200, 150, 150);
fill(30, 100, 25); // Even lighter Orange
ellipse(200, 200, 100, 100);
fill(0, 0, 0); // Black color
ellipse(200, 200, 50, 50);
}