Hi Richard, did you mean rotating 2D 90 degrees each time you call the function?
If so I wish I’d looked a this. It's in my display code, Tetris has to do it I used a lookup table for block rotation,
but rotated digits for vertical orientation.