Rotate a 2D matrix in 90 degree steps.
rotate2D(slice, degrees = 90)
a 2D matrix
integer, must be a (positive or negative) multiple of 90
2D matrix, the rotated matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.