Math: Transform

Nodes in this category perform transformations on graphical elements and calculations involving transformation matrices.

Nodes

NodeDetailsPossible Types
Decompose Rotation

Extracts the rotation component (in degrees) from the input transform.

Transform → f64
Transform[] → f64[]
Decompose Scale

Extracts the scale component from the input transform.

Magnitude returns the visual length of each axis (always positive, includes any skew contribution).

Pure returns the isolated scale factors with rotation and skew stripped away (can be negative for flipped axes).

Transform → Vec2
Transform[] → Vec2[]
Decompose Skew

Extracts the skew angle (in degrees) from the input transform.

Transform → f64
Transform[] → f64[]
Decompose Translation

Extracts the translation component from the input transform.

Transform → Vec2
Transform[] → Vec2[]
Extract Transform

Obtains the transform of the input content.

Graphic → Transform
Graphic[] → Transform[]
Vector → Transform
Vector[] → Transform[]
Raster → Transform
Raster[] → Transform[]
Color → Transform
Color[] → Transform[]
Gradient → Transform
Gradient[] → Transform[]
String → Transform
String[] → Transform[]
Artboard → Transform
Artboard[] → Transform[]
Invert Transform

Produces the inverse of the input transform, which is the transform that undoes the effect of the original transform.

Transform → Transform
Transform[] → Transform[]
Replace Transform

Overwrites the transform of the input content with the specified transform.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Reset Transform

Resets the desired components of the input transform to their default values. If all components are reset, the output will be set to the identity transform.

Shear is represented jointly by rotation and scale, so resetting both will also remove any shear.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Transform

Applies the specified transform to the input content.

Transform → Transform
Transform → Transform[]
Transform[] → Transform[]
Vec2 → Vec2
Vec2 → Vec2[]
Vec2[] → Vec2[]
Graphic → Graphic
Graphic → Graphic[]
Graphic[] → Graphic[]
String → String
String → String[]
String[] → String[]
Vector → Vector
Vector → Vector[]
Vector[] → Vector[]
Raster → Raster
Raster → Raster[]
Raster[] → Raster[]
Color → Color
Color → Color[]
Color[] → Color[]
Gradient → Gradient
Gradient → Gradient[]
Gradient[] → Gradient[]