2d and 3d transforms

Demo

Click or hold touch on on any of the following images to observe a 3D transformation.

For more examples of 2D and 3D transformations, see rotating image gallery or Morphing Cubes, or see Flux Slider or Web Designer Wall.

Translate

2D Translate

Hawaii photo
Translate

3D Translate

Hawaii photo
Translate3d
Hawaii photo
TranslateX
Hawaii photo
TranslateY
Hawaii photo
TranslateZ

Rotate

2D Rotate

Hawaii photo
Rotate

3D Rotate

Hawaii photo
Rotate3d
Hawaii photo
RotateX
Hawaii photo
RotateY
Hawaii photo
RotateZ

Scale

2D Scale

Hawaii photo
Scale

3D Scale

Hawaii photo
Scale 3D
Hawaii photo
ScaleX
Hawaii photo
ScaleY
Hawaii photo
ScaleZ

Skew

2D Skew

Hawaii photo
Skew (-45deg X-axis)
Hawaii photo
Skew (30deg Y-axis)
Hawaii photo
Skew (-45deg X-axis, 30deg Y-axis)

3D Skew

N/A

Perspective

2D Perspective

None. The perspective property only
affects 3D transformed elements.

3D Perspective

Hawaii photo
Perspective (150)
Hawaii photo
Perspective (500)

Matrix

2D Matrix

Hawaii photo
Matrix:
rotate 30 degrees
translate 25, 50

3D Matrix

Hawaii photo
Matrix 3D
rotate 30 degrees
translate 25, 50