Previous post is simple example of usage MozOrientation. But now i use Matrix of rotate and i have nice animation. You can read many information about Matrix of rotate here. These methods are used in game development, make animations and many others. 123456789101112131415161718192021222324252627var context = drawingCanvas.getContext(’2d’); var xc = 75; var yc = 75; var [...]