This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.
Moves each point of the input graphics by how light a map is there. Middle gray (level 128 of 255) moves nothing, and the maps' transparent areas count as middle gray.
In Angle mode, lighter areas of the Displacement map move the content along the angle, and darker areas move it the opposite way. In X and Y mode, lighter areas of the X Displacement map move it right and those of the Y Displacement map move it down, while darker areas move it left or up. These directions follow the content's own axes, turning with it.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Content | The content to move. Primary Input | Color[]ColorGenerator[]GeneratorGradient[]GradientGraphic[]GraphicRaster[]RasterString[]StringVector[]Vector |
| Mode | Whether one map moves the content along an angle, or one moves it across and another down. Default: | DisplaceMode[]DisplaceMode |
| Displacement | The image, gradient, or other graphic that moves the content along the angle in Angle mode, drawn where it's placed. Past its edges, nothing moves. Default: | Graphic[]Graphic |
| Angle | The direction that lighter areas of the map move the content, counterclockwise from the right. Default: | Number[]Number |
| Distance | How far the map's white areas move the content along the angle, and its black areas the opposite way. Negative values reverse the direction. Default: | Number[]Number |
| X Displacement | The image, gradient, or other graphic that moves the content across in X and Y mode, drawn where it's placed. Past its edges, nothing moves. Default: | Graphic[]Graphic |
| Y Displacement | The image, gradient, or other graphic that moves the content down in X and Y mode, drawn where it's placed. Past its edges, nothing moves. Default: | Graphic[]Graphic |
| Offset | How far the X Displacement map's white areas move the content right (and its black areas left), and the Y Displacement map's white areas move it down (and its black areas up). Negative values reverse each direction. Default: | Vec2[]Vec2 |
| Edge Mode | What shows where the content moves in from past its bounds: its edge pixels (Pad), its mirror image (Reflect), the content from the opposite side (Repeat), or nothing (Clear). All but Clear keep the result within the bounds. Default: | GradientSpread[]GradientSpread |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | GraphicGraphic[]VectorVector[]RasterRaster[]ColorColor[]GradientGradient[]StringString[]GeneratorGenerator[] |