Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 2.77 KB

README.md

File metadata and controls

61 lines (33 loc) · 2.77 KB

Self Portrait Assignment

Chinonyerem Ukaegbu

Description

The task was to create a self portrait using Processing in order to practice using the drawing functions we had learnt in class

Process

Because I couldn't make the portrait exceedingly complex, I opted to include subtle elements that were a representation of myself in the portrait.

Background only

I set the dimensions of the display window as 1000x800 because I wanted it to be a landscape setting. I also filled the background in with a dark blue colour to represent the night sky.

Background with stars

I then included little circles to represent the stars in the sky and outlined them in a colour a few shades darker than the fill colour.

Head

After I was through with the background, I got to work on the head which is an ellipse and I outlined the head as well.

Hair

For the hair, I first created two ellipses which intersected in the middle of the head and move them behind the head. Then for the hairs framing the face, I created arcs and positioned them in front of the face.

Eyes

For the eyes, I created two arcs bounded by chords to represent the section of the eyeball which was visible. I then created two ellipses to represent the irises and two points for the pupils.

Nose

For the nose, I created two arcs to represent the outline of the nose.

Mouth

For the mouth, I created an arc bounded by a chord and filled it in with white to represent the teeth.

Earrings

The earrings were represented by two circles and filled in with a gold colour.

Neck/hands

I used a triangle to represent the neck and the hands and moved it behind the face but in front of the back hair.

Shirt

The shirt is represented by a rectangle filled in with a burgundy colour.


Difficulties/Interesting Things I Found

The major difficulties I faced were with estimating the coordinates to indicate for the shapes as well as figuring out how the arc function woked. Also, at the beginning, for the stars, I wanted the stars to be distributed at random positions in the background but i could not figure out how to do that so I created manual, static stars instead. While trying to create the eyes, i found the CHORD option for drawing an arc which I thought was really cool. I used the line break in GitHub but I still don't fully understand how the line breaks and spaces work. I also discovered that while upoading images, you can replace the space in the image name with "%20" and it will be displayed.