Re: [css3-transform] definition of skewing

On Jan 13, 2011, at 12:22 PM, Rik Cabanier wrote:

> Yes,
>  
> Rotate is always around the transformation point.
>  
> Rotate(a) is defined through the matrix:
> | cos(a) -sin(a) 0 |
> | sin(a) cos(a)  0 |
> | 0        0          1 |
>  
> Rotate(a, b) would be defined as:
> | cos(a) -sin(b) 0 |
> | sin(a) cos(b)  0 |
> | 0        0          1 |
>  
> This type of animation is often used in Flash to give the appearance of an object that turns into view.

The hope is that people use 3D transforms to do real 3D, rather than trying to fake 3D with 2D transforms.

Simon

Received on Thursday, 13 January 2011 20:26:39 UTC