I'm relatively new to JavaScript, so I'm not sure if a canvas rotation is the best way of achieving what I want to see or not, so here is the context.
I have a web-page that people interact with. I am interested in seeing how these interactions change when the contents of the whole screen rotates (by an arbitrary amount). I therefore need a way of rotating all my elements (which consists of some pre-determined images and some text) on the screen.
I can transform the coordinates of each individual element, but I was wondering if there is a way of simply rotating the whole "screen", or canvas, in software, such that everything on the canvas is still in the same place and at the same orientation, but now the whole canvas has rotated by $x$ degrees.
I haven't been able to find how to do this online, partly because I don't know what I'm looking for. Perhaps the canvas isn't actually what I want to rotate, but rather something else? Please advise.