Can someone create a update () function that's called with a setTimer() function at the end of my main function that CHANGES THE COLOR of my tree lights(the circles). Please use the code I already have.

Can someone create a update function thats called with a setTimer function at the end of my main function that CHANGES THE COLOR of my tree lightsthe circles Pl class=