This is a very primitive 2D drawing of an FC Barcelona supporter celebrating a goal. Messi just scored another goal and the supporter, elated, hands cheering, mouth gaping is shouting “GOOOOAAAALLLL”!
ellipse() – to create his head, eyes and mouth.
rect() – was used to create the signature Barca blue and red striped jersey, his arms, legs and shorts. For the jersey, I drew a red rectangle then inserted the stripes by overlaying three blue rectangles.
triangle() – I used this attribute to create the definition of his shorts.
I used the background(), fill() and stroke() attributes to add the respective colors to the attire and body. Using createCanvas(600,1500), I created the dimensions of the window.
Here is how my drawing progressed:
Here’s a peak of my code.
My Barca supporter can be found here: http://www.nikitahuggins.com/Projects/ICM/Homework1/