Shape
Generates geometric shapes (rectangle, circle, ellipse, polygon, or star) with optional fill and stroke.
The Shape node creates crisp geometric primitives using signed distance fields (SDFs). Choose from rectangle, circle, ellipse, polygon, or star, then configure fill color, stroke width, and alignment.
Shapes are useful for generating masks, creating simple graphics, or as structural elements in procedural workflows. The SDF approach means edges are always mathematically sharp, with no aliasing artifacts.
Parameters
Section titled “Parameters”Shape
Shape to rasterize
Rounded corner radius (Rectangle only)
Number of sides (Polygon only)
Number of star points
Inner radius ratio; 0.01=spiky, 0.99=circular
Layout
Single = one shape; Tile = repeat in grid
Number of columns in tile grid (Tile only)
Number of rows in tile grid (Tile only)
Gap between grid cells in pixels (Tile only)
Margin around the edges of the output image (Tile only)
Keep shape = output size (Single only)
Shape bounding box width (Single, unlocked)
Shape bounding box height (Single, unlocked)
Output
Output image width in pixels
Output image height in pixels
Position
Shape center X position (Single only)
Shape center Y position (Single only)
Fill
Enable solid fill on shape interior
Fill color
Stroke
Enable stroke outline on shape edge
Stroke thickness in pixels
Stroke grows Inside/Center/Outside the edge
Stroke color
Some parameters are only visible depending on the current settings. Corner Radius only appears for rectangles. Sides only appears for polygons. Points and Inner Ratio only appear for stars. Stroke settings only appear when Stroke is enabled. In Single layout mode you can set the shape size and position. In Tile layout mode you can set columns, rows, and spacing instead.
Usage Tips
Section titled “Usage Tips”- Use a Shape with no fill and only a stroke to create ring/outline shapes.
- Star inner radius controls how spiky the star is: 0.01 is very spiky, 0.99 is nearly circular.
- Combine shapes with Mask From Image to create geometric selections for compositing.
- Unlock “Lock Shape to Output” to position shapes off-center within a larger canvas.