Use Matrix of rotate +MozOrientation
Рубрики: FireFox, Javascript on Jan.24, 2010
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.
var context = drawingCanvas.getContext(’2d’);
var xc = 75;
var yc = 75;
var xi = 0;
var yi = [...]


