In this project, we are assigned to build a simple drawing program.
The first step was to create the toolbar, I wanted there to be at least a basic set of colors.

I then created a white background for my canvas and adjusted the color toolbox to be better fitted to my liking. However, I encountered a frustrating issue I have yet to figure out.

As you can see, using the mousePressed function, I tried to adjust the color of the line drawing according to the color that was “picked” on the toolbox. However, every time that I chose a different color, the stroke of the toolbox changed with the color of the stroke. I figured that it definitely has to do with the order of my codes. Yet, no matter how many times I rearranged it, the same thing occurred. Eventually, I decided to accept how it was and looked at it as a “guiding tool” to allow users to remember what color they picked.
Unfortunately, this sketch was very plain and I was wondering how to make this project more interesting. My boyfriend gave me an idea and said, “Why don’t you create a theme? Like color-in a car or something random like that?”
It was getting late and I got pretty tired so I had to ask ChatGPT to draw a car in p5.js. Below are the codes provided by ChatGPT that sketch out the car.

After looking through the internet for more ideas, I came across this screenshot and decided to implement this effect for the “element of surprise”(Click the photo below to be linked to the source). 
I still struggle with the “strokes” in this project. For some reason, every outline in this sketch links to the color and I’m not quite sure how to fix the issue.
Reflection:
This project, as simple as it looks, was definitely quite difficult to execute due to the technicalities involved when it came to the order of operations. It was quite frustrating to get the functions to work right and even so, it still is not perfect. I might have to learn how to use ColorVariables better in order to better execute this project. However, I’d still like to thank my classmate Katarina Woo for assisting me and giving me helpful tips when I was struggling. I would also like to thank my boyfriend, João for giving me ideas on the creative side of this project and giving me constant moral support!

Here is the link to my project: https://editor.p5js.org/taniahartanto/sketches/gX5-_pTj8