Tut­o­r­i­a­l 3

by Michael McCammon
  • Show Code
/** @peep sketch */
size(400, 400);
background(243);
strokeWeight(5);
 
//line square created with the following
 
line(50,200,200,350);
line(350,200,200,350);
line(350,200,200,50);
line(50,200,200,50);
noFill();
triangle(80,190,320,190,200,70);
 
//3 rect's below the triangle
 
fill(143, 180, 200);
rect(180, 210, 40, 70);
fill(233, 80, 150);
rect(130, 210, 40, 20);
fill(60, 190, 143);
rect(230, 210, 40, 20);
noFill();
 
/*
  practicing my bezier's, finding it easier to
  understand control and anchor points.
*/
 
bezier(390, 10, 10, 10, 390, 390, 10, 390);
bezier(10, 390, 10, 10, 390, 390, 390, 10);

Comments

Nobody has said anything yet.