//
// s4_rect.pdePractice rect, fill, etc.
// by Prof. BAM

fill(255,0,0);
rect(10,20,30,40);

fill(0,255,0);
rect(50,0,70,80);

fill(0,255,255);
rect(20,70, 40,40);

fill(0, 0, 255);
rect(70,20, 20,10);


// Now, try some ellipses.
fill(255, 255, 0);
ellipse(80,80, 50,50 );

fill(255, 0, 255);
ellipse(40,50, 20,50 );

strokeWeight(7);
stroke(0,128.0);
line(90,90, 10,60);

strokeWeight(3);
stroke(128,0,128);
line(10,10, 90,90);


fill(64,64,64);
text("Practice rect, etc.", 10,10);
fill(128,128,128);
text("by BAM", 0,90);

//