In this project I designed two programs in processing, one that drew a self portrait of myself using the given shapes and another that was a drawing program.
For the self portrait I used a lot of ellipses of varying colors for parts like the face and eyes and arcs for hair, eyebrows, and mouth. For the neck I used a rectangle and the nose I used a few vertexes, and once I arranged them symetrically it came out pretty close to how I look.
The drawing program was a lot more complex than the portrait, which is why the file size is over 10 times bigger. It draws ellipses, squares, or lines of varying colors and sizes depending on the key input of the user, and only draws when the mouse is clicked.
To create it I made local char variables that saved different keys pressed, like 's' for square got saved to the shape variable and 'b' for blue got saved to the colorKey variable. I then made a bunch of enclosed if and if else statements to make the program draw depending on what keys were pressed, along with an else default for if keys weren't pressed.
The color I made to be random(255) in the RGB places so it'd be a random color of the rainbow as default, along with random different stroke color. But I also added the option to type a key and get a random hue of a certain color of RGB or a combination, plus a key to set it back to rainbow.
Additionally I also had a option to change the transparency and size. For transparency you could select a key to change it transparent or opaque, and it made the shape a random level of transparency. The size you could change to grow to the max size to the minimum size or vice versa, plus a key to set it back to default.
Here's my files if you want to download and check them out, Portrait is 1kb and Drawing Program is 11kb. Also included are the instructions as a text file.