Learn Create Your Own Split Screen

Next Page

There's obviously still a problem as the cat is not rotating as you might expect.

The eventual solution is going to involve changing a bunch more properties of the drawing context.

Pretty soon it's going to be tedious and error-prone to have to remember every change we made to the drawing context, and then change them back at the end of the frame function.

Fortunately there's a way to make our changes, do our drawing, then put everything back the way we found it.