How to make the hour and minute hands rotate according to the real time, I refer to the example of the clock provided on the website ( https://p5js.org/zh-Hans/examples/input-clock.html ) When I brought the code into it and this problem was happen, how to solve it, or any other way, thank you. This is my homework
1 Like
Can you show your code?
I am not sure I understand your question.
Does the example not work?
1 Like
Thank u I have done it, I just forget some codes
1 Like
I see many copies of the second hand. Looks like the problem was that you didn’t call background(255)
to clear the screen each time.