Warp

This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.

Bends the input graphics within a box into a preset shape, like an arc, a flag, or a fish, clearing everything outside the bent box.

Interface

Inputs

ParameterDetailsPossible Types
Content

The content to bend.

Primary Input

Color[]
Color
Generator[]
Generator
Gradient[]
Gradient
Graphic[]
Graphic
Raster[]
Raster
String[]
String
Vector[]
Vector
Style

The shape the box bends into.

Default: Arc

WarpStyle[]
WarpStyle
Vertical

Bends the box's left and right edges instead of its top and bottom.

Default: false

Bool[]
Bool
Bend

How strongly the shape bends the box, the other way when negative.

Default: 50%

Number[]
Number
Horizontal Distortion

How much taller the box's right side grows than its left, or the left than the right when negative, as if turned away in perspective.

Default: 0%

Number[]
Number
Vertical Distortion

How much wider the box's bottom grows than its top, or the top than the bottom when negative, as if tipped away in perspective.

Default: 0%

Number[]
Number
Transform

Places the box the content bends within, measured from the origin of the content's local coordinate space. By default, it's a square 500 px across centered at (250, 250).

Default: 250., 250., 500., 500 px

Transform[]
Transform

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Graphic
Graphic[]
Vector
Vector[]
Raster
Raster[]
Color
Color[]
Gradient
Gradient[]
String
String[]
Generator
Generator[]