xxxxxxxxxx
35
function setup() {
createCanvas(400, 400);
}
function draw() {
background(255,255,0,30);
//fill(r,g,b)
//fill(grayscale);
//fill(r,g,b, [alpha]);
fill (255,0,0);
stroke(0,255,0);
strokeWeight(30);
rect(50,80,170,150);
fill (0,0,255);
stroke(340,0,43);
strokeWeight(20);
ellipse(300,150,100,150);
stroke(200,0,0,20);
strokeWeight(2);
fill(25,200,25,150)
ellipse(mouseX,300,30,30)
ellipse(300, mouseY,30,30)
noStroke();
ellipse(mouseX, mouseY,30,30)
fill(255,0,25,50)
ellipse(mouseX, mouseY,50,30)
line(150,300,250,350);
}