W3C home > Mailing lists > Public > www-style@w3.org > January 2011

Re: [css3-transform] definition of skewing

From: Simon Fraser <smfr@me.com>
Date: Thu, 13 Jan 2011 12:25:47 -0800
Cc: "www-style@w3.org" <www-style@w3.org>
Message-id: <F8DB8EBC-6A99-42E5-8BB5-6441A0F01F84@me.com>
To: Rik Cabanier <cabanier@adobe.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:36 GMT