Path Array
Path generation/manipulation node. Path Array creates or processes vector path data.
intermediate
Since P00
Input Ports
Path
オブジェクトを配置するBezier path
Stamp
各点に配置するimage(未接続時は1pxドット)
Output Ports
Image
配列が配置されたimage
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| Width | Int | 64 | Canvas width |
| Height | Int | 64 | Canvas height |
| Count | Int | 5 | 各サブPathに配置する数 |
| Mode | Enum | Equal | 配置方法(下記参照) |
| Seed | Int | 0 | Random/Scatter用乱数シード |
| Spread | Int | 4 | Scatter用の最大偏差ピクセル数 |
| Scatter Side | Enum | Both | Scatter時に両側 / 内側 / 外側のどちらへ散らすか |
| Fill Direction | Enum | Forward | Fill時の配置方向(始点→終点 / 終点→始点) |
| Fill Step | Int | 1 | Fill時に何ピクセルおきに配置するか |
| Color | Color | 白 | ドットのColor(スタンプ未接続時) |
| Pixel Perfect | Bool | false | pixel-perfectモード |
| PP モード | Enum | RemoveCorner | PP補正方式 |
| 閉パス外積 | Bool | false | 閉Pathの外積ベースエッジ削除 |
| 閉パス削除側 | Enum | Outer | 内側/外側エッジのどちらを削除 |
配置モード
| モード | 説明 |
|---|---|
| **Equal**(等間隔) | Pathを均等分割して配置。閉じPathでは始点=終点の重複を自動回避 |
| **Fill**(順次配置) | ラスタライズ済みピクセル列を順に使用。`fill_direction` で向き、`fill_step` で間引き間隔を指定可能 |
| **Random**(ランダム) | Path上のランダムな位置に配置。シードで再現可能 |
| **Scatter**(分散) | Path周辺にランダムに分散配置。`spread` で偏差、`scatter_side` で両側 / 内側 / 外側を制御。開いたサブPathでは `Inside` / `Outside` を指定しても `Both` 相当で扱う |
pixel-perfectモード
- オン:
rasterize_subpathでラスタライズ済みピクセル座標列を基準に配置。Pathストロークと同じPP補正オプション(対角優先/直線優先/角削除/角保持、閉Path外積/削除側)が使用可能 - オフ: ベジェ曲線の数学的サンプリング(
sample_sub_path)でPlacement positionを計算
Usage Examples
等間隔配置
[BezierPath] → path → [PathArray(mode:Equal, count:10)] → [Preview]ランダム分散
[MultiPath] → path → [PathArray(mode:Scatter, count:20, spread:8, seed:42)] → [Preview]ピクセルパーフェクト配置
[BezierPath] → path → [PathArray(pixel_perfect:ON, pp_mode:RemoveCorner)] → [Preview]Related Nodes
bezierpath
preview
multipath