SketchBook

図形

function setup (){
createCanvas(700,700);
}
function draw (){
background(255,255,255);

triangle(100,50,50,100,150,100);
strokeWeight( 10 );
stroke(150,150,50);
fill(50,150,150,random(10,100));
rect(200,300,100,300);
fill(100,100,100,random(10,200));
ellipse(500,200,100);  
fill(150,100,50,random(10,100));
line(400,600,600,600);
point(350,350);

}