xxxxxxxxxx
function setup() {
createCanvas(600, 800);
noLoop();
background(40);
}
function draw() {
stroke(255);
strokeWeight(24);
line(width / 2 - 50, height / 4, width / 2 - 50, 3 * height / 4);
noStroke();
fill(255, 0, 0); // Red
ellipse((width / 2) + 50, height / 2, 220);
stroke(255, 204, 0);
strokeWeight(0);
line(width / 2, (height / 2) + 30, width / 2, (height / 2) + 230);
strokeWeight(6);
line((width / 2) - 100, (height / 2) + 50, (width / 2) + 280, (height / 2) + 50);
// Vertical yellow line
strokeWeight(6);
line((width / 2) + 50, (height / 2) - 107, (width / 2) + 50, (height / 2) + 107);
strokeWeight(6);
line((width / 2) - 250, (height / 2) + 75, (width / 2) - 29, (height / 2) + 75);
noStroke();
fill(128, 128, 128); // grey
rectMode(CENTER);
rect(width / 2 - 15, height / 2 - 50, 10, 400);
fill(30); // Background color
ellipse(width / 2 - 50, height / 4 - 0, 30);
ellipse(width / 2- 50, 3 * height / 4 - 0, 30);
}