xxxxxxxxxx
111
// Conclusion by William Kandinsky https://www.wassilykandinsky.net/work-692.php
function setup() {
createCanvas(600, 600);
colorMode(HSB)
}
function draw() {
background(220);
// Box 1
fill(227, 40, 9)
rect(100, 0, 400, 200);
// shade 1
fill(227, 40, 10);
rect(100, 50, 400, 50);
// shade 2
fill(227, 40, 12);
rect(100, 100, 400, 50);
// shade 3
fill(227, 40, 13);
rect(100, 150, 400, 50);
// Box 2
fill(275, 62, 15);
rect(100, 200, 400, 200);
// shade 4
fill(275, 62, 14);
rect(100, 200, 400, 25);
// shade 5
fill(275, 62, 14);
rect(100, 350, 400, 50);
// Box 3
fill(323, 40, 30);
rect(100, 400, 400, 200);
// shade 6
fill(323, 40, 20);
rect(100, 400, 400, 50);
// shade 7
fill(323, 40, 22);
rect(100, 450, 400, 60);
// shade 8
fill(323, 40, 24);
rect(100, 500, 400, 100);
// circle color 1
stroke(20)
fill(132, 65, 67);
ellipse(300, 100, 180);
// circle color 2
stroke(20)
fill(0, 58, 91);
ellipse(300, 100, 170);
// circle color 3
noStroke();
fill(0, 62, 64)
ellipse(300, 100, 160);
// triangle 1
fill(36, 92, 75)
triangle(400, 400+100, 300, 200+100, 200, 400+100)
// triangle 2
fill(202, 92, 29)
triangle(250, 250+150, 350, 250+150, 300, 350+150)
// Bar
fill('black')
rect(230, 550, 150, 10)
}
function mousePressed() {
save("Art.jpg");
}