- creo una canvas di → x:400, y:400
- cambio il colore dello sfondo in → #FDFFFE
- cambio il colore di riempimento → #68CBEA
- elimino le linee
- disegno un rettangolo con coordinate -> x:80, y:30, spessore: 232, altezza: 375, radius of top-left corner: 116, radius of top-right corner: 116, radius of bottom-right corner: 0, radius of bottom-left corner: 0
- cambio il colore di riempimento → #C35D9B
- elimino le linee
- disegno un rettangolo con coordinate -> x:128, y:80, width: 139, height: 330, radius of top-left corner: 116, radius of top-right corner: 116, radius of bottom-right corner: 0, radius of bottom-left corner: 0
- cambio il colore di riempimento → #EED054
- elimino le linee
- disegno un rettangolo con coordinate -> x:176, y:121, width: 43, height: 330, radius of top-left corner: 116, radius of top-right corner:116, radius of bottom-right corner: 0, radius of bottom-left corner: 0
function setup() {
createCanvas(400, 400);
}
function draw() {
background(“#FDFFFE”);
//tl Number: optional radius of top-left corner.
//tr Number: optional radius of top-right corner.
fill(“#68CBEA”);
noStroke();
rect(80, 30, 232, 375, 116, 116, 0, 0);
fill(“#C35D9B”);
noStroke();
rect(128, 80, 139, 330, 116, 116, 0, 0);
fill(“#EED054”);
noStroke();
rect(176, 121, 43, 330, 116, 116, 0, 0);
}

Lascia un commento
Devi essere connesso per inviare un commento.