function setup() {
createCanvas(400, 400);
}
function draw() {
fill("white");
rect(100,100,200,200);
fill("magenta");
triangle(200, 200, 100,50);