u/HourGullible8750

What is the mistake?

What is the mistake?

//cruz de Malta curva

void setup() {

size(600, 600);

}

void draw() {

background(255,0,0);

// Recta vertical

fill(255);

noStroke();

rect(width/2 - width*0.12, 0, width*0.24, height);

//Elipse superior

fill(255,0,0);

noStroke();

ellipse(width/2, -320, 2000, 1150);

//Elipse inferior

fill(255);

noStroke();

ellipse(width/2, 920, 2000, 1150);

//Elipse izquierda

fill(255);

noStroke();

ellipse(-520, height/2, 2000, 1150);

//Elipse derecha

fill(255);

noStroke();

ellipse(1120, height/2, 2000, 1150);

// Recta horizontal

fill(255, 0, 0);

noStroke();

rect(0, height/2 - height*0.12, width, height*0.24);

}

u/HourGullible8750 — 5 days ago