HTML and CSS Reference
Game Graphic Transformations
As we saw in the previous section, we can easily rotate a game graphic at the top-left corner
by using the context.rotate() transformation. However, our game will need to rotate ob-
point to the center of our game graphic object.