From left to right, the middle arrow turns 45 degrees counterclockwise every step
The other arrow moves in a horizontal plane to the left and starts again on the right when the end is reached. In addition, this arrow first rotates 90 degrees counterclockwise and then 180 degrees.
From left to right he color sequence is always red, blue, yellow and then red again.