shrugbread- Animated loop

My Code

 

This is a loop that uses rotations using millis and the animLoop library to increment the rotation. The modulo tool was also used to arrange the units in a checkerboard pattern offset in timing by rotation. There are also circles to squares in the midway points of the canvas. There is a slight visual glitch where the trails made by the rotating objects doesn’t exist when the rotation begins.