Back to Node List

Shape Sweep

shape_sweep

Sweeps a simple shape along a path into a mask image

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
パス
path
Path
Required
図形を並べる道筋にするパスです

Output Ports

NameTypeDescription
画像
output
Image
並べた結果のマスク画像です

Parameters

NameTypeDefaultRangeDescription / Options
width
Int
641–1024

出来上がる画像の幅です

高さ
height
Int
641–1024

出来上がる画像の高さです

対象サブパス
sub_path_scope
Enum
Single

1 本のサブパスだけに適用するか、すべてに適用するかを選びます

  • 個別Single
    選んだ 1 本のサブパスだけに適用します
  • すべてAll
    すべてのサブパスに同じ設定で適用します
使うサブパス
sub_path_index
Int
00–255

どのサブパスに沿って並べるか選びます

図形
shape
Enum
Circle

パスに沿って並べる図形の種類です

  • Circle
  • 楕円Ellipse
  • 矩形Rectangle
  • ひし形Diamond
図形の幅
shape_width
Int
81–512

並べる図形の横幅です

図形の高さ
shape_height
Int
81–512

並べる図形の縦幅です

配置する数
samples
Int
161–512

パスに沿って図形を何個並べるかです

並べ始め
start_t
Float
00–1 / step 0.01

どこから並べ始めるかです。0 が先頭です

並べ終わり
end_t
Float
10–1 / step 0.01

どこまで並べるかです。1 が終点です

進行方向に合わせる
align_to_path
Bool
false

オンにすると図形の向きがパスの進行方向にそろいます

追加回転
rotation
Angle
0— / step 1

最後に追加で回転させる角度です

What is it for?

  • When you want to arrange circles into a cutout for waves or a cloth edge
  • When you want a ribbon- or brush-like shape to follow a path
  • When you want to make a simple FX mask along a path

Overview

Packs small shapes (circles or rectangles) along a path and converts them into a mask. It creates thick patterns that follow a path, such as a wavy cloth edge, scallops, or ribbon-like FX masks.

Usage tips

  • Unlike a thick path_stroke, this is a sequence of shapes. Large, widely spaced circles create a bumpy edge. When you only need a smooth ribbon, Path Stroke thickness is enough.
  • samples controls density: a low value gives a row of separate shapes; a high value joins them into a ribbon.
  • Limit the interval with start_t / end_t to decorate only part of the path.
  • The output is a mask, so add color downstream (clip an image with mask, or use gradient_map).

Related nodes

  • path_stroke — when a smooth ribbon is enough
  • path_array — when you want to arrange image stamps rather than make a mask
  • mask / mask_boolean — use or combine the completed mask
  • path_trim — another approach to controlling the interval

Notes

  • The output is a white + alpha mask image.
  • sub_path_index is shown only when sub_path_scope = Individual.
  • The UI updates the upper limit of sub_path_index to match the number of subpaths in the input path.
  • Increasing samples raises the density and makes the result look smoother.
  • When align_to_path is off, every shape uses the same orientation.

Examples

  1. Arrange circles to make a mask with a wavy cloth edge.
  2. Arrange rectangles with align_to_path = true to make a ribbon mask.
  3. start_t = 0.2, end_t = 0.8
    • Places shapes along only part of the path.
  4. Add rotation to offset the orientation slightly from the direction of travel.
  5. Target Subpaths = All
    • Applies the same sweep across the entire multipath.
Back to Node List
Shape Sweep — PixPipeline Node Reference