Hello. I've checked your description.
I have questions for task.
1. when click rotate all button, all rects have to rotate 30 degree once? or have to rotate every 30 degree per second?
2. when click rotate all continuously, have to rotate every 30 degree per second?
If you clarify 1, 2 question, rotate2nd, 3rd, 4th will be also clarified.
I will finish it asap after getting your feedback.
Thanks.