Tut­o­r­i­a­l 3 Dra­w­i­n­g shapes

by Michael McCammon
  • Show Sketch
/** @peep sketchcode */
size(400, 400);
background (0, 245, 150);
 
stroke (250, 250, 250);
fill ( 0);
rect (50, 50, 300, 300);
fill (0, 245, 150);
rect (60, 60, 280, 280);
 
line (200, 180, 220, 200);
 
strokeWeight (4);
point (40, 360);
point (360, 360);
point (360, 40);
point (40, 40);
 
strokeWeight (2);
triangle (80, 200, 80, 320, 200, 320);
 
quad ( 90, 80, 320, 80, 300, 300, 200, 180);
 
bezier(80, 80, 120, 180, 120, 220, 320, 320);
bezier(80, 80, 120, 180, 120, 220, 320, 320);

Comments

Nobody has said anything yet.