The Bend node deforms a shape or path by curving it around a pivot point. It provides a 2D gizmo for interactively setting the bend’s origin, direction, and length, allowing for intuitive warping and twisting effects.
Parameters
| Parameter | Description |
|---|---|
Label | The display name for the node. |
Bend Angle | The angle in degrees to bend the image. |
Position | The center point of the source capture line. |
Capture Direction | The normal of the line along which to apply the Bend Angle. |
Capture Length | The length of the capture region. |
Resample Length | The approximate distance between resampled points. Smaller values create a smoother, more detailed bend. |
Deform in Both Directions | Applies the Bend Angle in the direction opposite to the Capture Direction. |
Triangulate | Apply bend to the entire shape surface via triangulation instead of just the outline. |
Visualize Triangulation | Draws the wireframe of the triangulated mesh. |
Triangulation Level | Controls the density of the triangulation. Higher is more detailed. |
Gizmo Controls
To activate the gizmo, select the Bend node and press Enter while your mouse is over the canvas. The gizmo provides two handles for direct manipulation of the capture region.
| Handle | Description | Controls |
|---|---|---|
| The **Origin Handle** (white) sets the pivot point of the bend. This point remains stationary. Drag it to position the start of the bend effect. | Capture Origin | |
| The **End Handle** (purple) controls the direction and length of the capture region. The angle from the origin sets the direction, and the distance sets the length. | Capture Direction Capture Length |
Examples
The following examples show how different parameter settings affect a basic rectangle.
| Example | Parameters | Result |
|---|---|---|
| Before | A standard rectangle shape. | |
| Vertical Bend | Bend Angle: 90Capture Origin: (0, 75)Capture Direction: -90 (Up)Capture Length: 100 | |
| Horizontal Bend | Bend Angle: 90Capture Origin: (-118, 0)Capture Direction: 0 (Right)Capture Length: 100 | |
| Both Directions | Bend Angle: 45Capture Origin: (0, 0)Capture Direction: -90Capture Length: 151Deform in Both Directions: true |