This is due to the the state of the animation being changed in the middle of writing the new clock time. Can solve one of two ways:
-Reduce the amount of time it takes to write the clock and update text, only updating when a change in the system has occurred
-Making sure that the clock writing is complete before executing and animation shift. This could be done by calling the animation update from elsewhere than the flask api.
This is due to the the state of the animation being changed in the middle of writing the new clock time. Can solve one of two ways:
-Reduce the amount of time it takes to write the clock and update text, only updating when a change in the system has occurred
-Making sure that the clock writing is complete before executing and animation shift. This could be done by calling the animation update from elsewhere than the flask api.