xxxxxxxxxx
30
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
// defines the width of the stroke
//strokeWeight(3);
// chooses a color for the outline of the following shapes
stroke(255,0,0);
// chooses a color for the inside of the following shapes
fill(0,255,0);
circle(width/4,height/2, 50);
noStroke();
fill(0,0,255);
triangle(10, 10, 150, 30, 100, 200);
stroke(255,0,0);
noFill();
strokeWeight(10);
square(mouseX, mouseY, 55);
}