Recreating this in HTML and CSS https://beesandbombs.tumblr.com/post/178180785834/turning-squares.
This one was quite a bit more complicated than expected. Two of the squares are duplicated in the corner rotation, which I didn't notice it until I was well into building it.