
let x = 400;
let y = -100;
let diameter = 700;
function setup() {
createCanvas(1280, 720);
fill(0, 175, 100);
}
function draw() {
background(100, 70, 170);
stroke(15);
for (let y=5; y<= height; y += 70)
{
for (let x=10; x<= width; x += 40)
{
fill(255, 0, 100, 70);
ellipse(x, y, 90, 50);
fill(75, 175, 100, 5);
triangle(600, y, 100, y, 300, 300)
}
}
for (let x=300; x<= 1000; x += 70)
{
for (let y=10; y<= width; y += 70)
{
fill(200, 100);
ellipse(x, y, 50,100);
}
}
for (let y=0; y<= 900; y += 100)
{
for (let x=600; x<= 1400; x += 70)
{
fill(20, 50, 100, 5);
triangle(1278, 0, 630, y, 1278, 720)
}
}
fill(50, 170, 50, 120);
noStroke();
rect(0, 0, 120, 720, 150, 200, 140, 100);
fill(150, 170, 50, 155);
noStroke();
rect(552, 0, 125, 720, 150, 200, 140, 100);
fill(200, 100, 70, 155);
noStroke();
rect(1155, 0, 125, 720, 150, 200, 140, 100);
}
Comments