demo from 10/24/2023
function setup() {
createCanvas(500, 500);
}
function draw() {
background(204,226,225);
rect(0,100,200,100,400,400);
circle(100,100,50);
strokeWeight(12);
triangle(347,54,392,9,392,66);
fill(255,0,255,);
strokeWeight(14);
triangle(158,55,290,91,290,112);
fill(0,0,255,120);
strokeWeight(13);
quad(158,55,199,14,392,66,351,107);
fill(255,0,0,120);
ellipse(-100,100,300,400);
fill(255,0,0,12);
strokeWeight(5);
ellipse(50,100,110,10);
fill(0,255,0,12);
ellipse(300,60,17,17);
strokeWeight(8);
fill(0,0,255,310);
beginShape();
vertex(180,82);
vertex(207,36);
vertex(214,63);
vertex(407,11);
vertex(412,30);
vertex(219,82);
vertex(226,109);
endShape(CLOSE);
strokeWeight(12);
fill(0,255,400);
}
Comments
Post a Comment