Skip to main content

Module transform

Module transform 

Source
Expand description

Animated types for transform.

Structsยง

InnerMatrix2D
A 2d matrix for interpolation.
MatrixDecomposed2D
A decomposed 2d matrix.
MatrixDecomposed3D
A decomposed 3d matrix.
Perspective
A 3d perspective transformation.
Quaternion
A quaternion used to represent a rotation.
Scale2D
A 2d scale function.
Scale3D
A 3d scale function.
Skew
A 3d skew function.
Translate2D
A 2d translation function.
Translate3D
A 3d translation.

Functionsยง

decompose_2d_matrix ๐Ÿ”’
The relevant section of the transitions specification: https://drafts.csswg.org/web-animations-1/#animation-types http://dev.w3.org/csswg/css3-transitions/#animation-of-property-types- defers all of the details to the 2-D and 3-D transforms specifications. For the 2-D transforms specification (all thatโ€™s relevant for us, right now), the relevant section is: https://drafts.csswg.org/css-transforms-1/#interpolation-of-transforms This, in turn, refers to the unmatrix program in Graphics Gems, available from http://graphicsgems.org/ , and in particular as the file GraphicsGems/gemsii/unmatrix.c in http://graphicsgems.org/AllGems.tar.gz
decompose_3d_matrix ๐Ÿ”’
Decompose a 3D matrix. https://drafts.csswg.org/css-transforms-2/#decomposing-a-3d-matrix http://www.realtimerendering.com/resources/GraphicsGems/gemsii/unmatrix.c
is_matched_operation ๐Ÿ”’