Variable Face

My variable face project was based on a much more detailed portrait sketch of my friend. I had to tone down the details into a more minimalist and abstract face to make the project more manageable for myself in code. When the mouse is clicked, the color of the eyes, blush, and lips change randomly, and so does the face shape variably. I wanted the background to change colors through the black and white, however, with the initial stroke color being black, it would be harder to see the face. So, I used an “if” command so that if the background was closer to white, the strokes remain black and when the background is darker, the strokes turn white. What was difficult for me was working on curves. It took a lot of practice for me to define the curves that I wanted, so I used a mixture of lines and ellipses added to it as well.

https://www.openprocessing.org/sketch/591827