Code

size (100,100);
background (#FFB400);

line (10,10, 10,50);
line (20,10, 20,50);
line (30,10, 30,50);
line (40,10, 50,50);

fill (#FFFF01);
triangle (50,10, 70,10, 60,50);

noFill ();
strokeWeight (3);
line (80,10, 60,90);

smooth ();
line (90,10, 70,90);

0002 - Basic Primitives (a): Copy a simple figure

Statement:Use code commands such as background(), line(), fill() and smooth() to reproduce this simple drawing.
My awesome homework!

hide statement