I am trying to draw a circle and then change the color of the circle based on the values from the trackbars.
So far, I can draw the circle(picture of the code is attached). I can make the trackbar but the trackbar changes the color of a default square (I didn’t create the square. A picture of the code and result is attached) .
How can I change my code so that the trackbars change the color of the circle and not the color of the square?