We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Each layer is same as a circle. So, after rotate the layer by n times, its state will return to origin.
Therefore, we can reduce the total number of rotate using the modulo operation.
Matrix Layer Rotation
You are viewing a single comment's thread. Return to all comments →
Each layer is same as a circle. So, after rotate the layer by n times, its state will return to origin. Therefore, we can reduce the total number of rotate using the modulo operation.