xxxxxxxxxx
18
function setup(){
createCanvas(400,400)
background(220, 255, 220);
noStroke();
fill(255,100,255);
polygon(200,200,100,3)
}
function polygon(x, y, radius, npoints) {
beginShape();
vertex(150, 113);
vertex(150, 287);
vertex(300, 200);
endShape();
}